commit | 6167c5bcef722819ff536dc63ec89825001161ed | [log] [tgz] |
---|---|---|
author | Laxman Dewangan <ldewangan@nvidia.com> | Thu Apr 21 17:55:57 2016 +0530 |
committer | Lee Jones <lee.jones@linaro.org> | Mon May 09 13:27:39 2016 +0100 |
tree | 8f473d160bce8a159f514dac6f32f04848a43154 | |
parent | 3dc6f4aaafbe9e745fd1183b7a7a91aeeae99fcd [diff] |
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>