summaryrefslogtreecommitdiffstats
path: root/drivers/Kconfig
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2016-04-21 17:55:56 +0530
committerLee Jones <lee.jones@linaro.org>2016-05-09 13:27:38 +0100
commit3dc6f4aaafbe9e745fd1183b7a7a91aeeae99fcd (patch)
treea5d098ba2814d47d522bd2ce419fac0420357466 /drivers/Kconfig
parentb36c82724fa10da7cc73693c6c2c3ab9a6c8034b (diff)
downloadlinux-3dc6f4aaafbe9e745fd1183b7a7a91aeeae99fcd.tar.bz2
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 <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/Kconfig')
0 files changed, 0 insertions, 0 deletions