diff options
author | Laxman Dewangan | 2016-04-21 17:55:52 +0530 |
---|---|---|
committer | Lee Jones | 2016-05-09 08:24:46 +0100 |
commit | 0bbfb87c567d982fd698b41e9fb68478727460f9 (patch) | |
tree | 75922390373d03136b4cdc224092fbdb129fcaf1 /drivers/mfd/max77686.c | |
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>
Diffstat (limited to 'drivers/mfd/max77686.c')
0 files changed, 0 insertions, 0 deletions