mfd: tps65910: Use devm_mfd_add_devices and devm_regmap_add_irq_chip
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 21 Apr 2016 12:25:57 +0000 (17:55 +0530)
committerLee Jones <lee.jones@linaro.org>
Mon, 9 May 2016 12:27:39 +0000 (13:27 +0100)
commit6167c5bcef722819ff536dc63ec89825001161ed
tree8f473d160bce8a159f514dac6f32f04848a43154
parent3dc6f4aaafbe9e745fd1183b7a7a91aeeae99fcd
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>
drivers/mfd/tps65910.c
This page took 0.02704 seconds and 5 git commands to generate.