diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2016-04-21 14:25:52 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-05-09 09:24:46 +0200 |
commit | 0bbfb87c567d982fd698b41e9fb68478727460f9 (patch) | |
tree | 75922390373d03136b4cdc224092fbdb129fcaf1 /drivers/mfd/max77686.c | |
parent | mfd: twl4030-power: Remove driver path in file comment (diff) | |
download | linux-0bbfb87c567d982fd698b41e9fb68478727460f9.tar.xz linux-0bbfb87c567d982fd698b41e9fb68478727460f9.zip |
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