diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2016-04-21 17:55:57 +0530 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-05-09 13:27:39 +0100 |
commit | 6167c5bcef722819ff536dc63ec89825001161ed (patch) | |
tree | 8f473d160bce8a159f514dac6f32f04848a43154 /drivers/mfd/wl1273-core.c | |
parent | 3dc6f4aaafbe9e745fd1183b7a7a91aeeae99fcd (diff) | |
download | linux-6167c5bcef722819ff536dc63ec89825001161ed.tar.gz |
mfd: tps65910: 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/wl1273-core.c')
0 files changed, 0 insertions, 0 deletions