commit | 0bbfb87c567d982fd698b41e9fb68478727460f9 | [log] [tgz] |
---|---|---|
author | Laxman Dewangan <ldewangan@nvidia.com> | Thu Apr 21 17:55:52 2016 +0530 |
committer | Lee Jones <lee.jones@linaro.org> | Mon May 09 08:24:46 2016 +0100 |
tree | 75922390373d03136b4cdc224092fbdb129fcaf1 | |
parent | ae9810e275d5847ded7e1cbcf231c3fcf95b6e52 [diff] |
mfd: as3722: Use devm_mfd_add_devices and devm_regmap_add_irq_chip Use devm_mfd_add_devices() for adding MFD child devices and devm_regmap_add_irq_chip() for IRQ chip registration. This reduces the error code path and .remove callback for removing MFD child devices and deleting IRQ chip data. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>