]> Git Repo - linux.git/commit - drivers/mfd/sec-irq.c
mfd: sec: Use devm_mfd_add_devices and devm_regmap_add_irq_chip
authorLaxman Dewangan <[email protected]>
Thu, 21 Apr 2016 12:25:56 +0000 (17:55 +0530)
committerLee Jones <[email protected]>
Mon, 9 May 2016 12:27:38 +0000 (13:27 +0100)
commit3dc6f4aaafbe9e745fd1183b7a7a91aeeae99fcd
treea5d098ba2814d47d522bd2ce419fac0420357466
parentb36c82724fa10da7cc73693c6c2c3ab9a6c8034b
mfd: sec: 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 <[email protected]>
Tested-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
drivers/mfd/sec-core.c
drivers/mfd/sec-irq.c
This page took 0.055177 seconds and 4 git commands to generate.