summaryrefslogtreecommitdiff
path: root/drivers/mfd/rc5t583.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2016-04-21 17:55:54 +0530
committerLee Jones <lee.jones@linaro.org>2016-05-09 13:27:20 +0100
commit1a5422c9e56a20898a73da5726d935d5d8072f78 (patch)
tree5175859be940d52244a9c6d61ec5bc93bd3770d8 /drivers/mfd/rc5t583.c
parent0bbfb87c567d982fd698b41e9fb68478727460f9 (diff)
mfd: max77686: 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> Tested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/rc5t583.c')
0 files changed, 0 insertions, 0 deletions