diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2016-04-21 17:55:56 +0530 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-05-09 13:27:38 +0100 |
commit | 3dc6f4aaafbe9e745fd1183b7a7a91aeeae99fcd (patch) | |
tree | a5d098ba2814d47d522bd2ce419fac0420357466 /net/irda/irttp.c | |
parent | b36c82724fa10da7cc73693c6c2c3ab9a6c8034b (diff) | |
download | linux-3dc6f4aaafbe9e745fd1183b7a7a91aeeae99fcd.tar.gz linux-3dc6f4aaafbe9e745fd1183b7a7a91aeeae99fcd.tar.bz2 linux-3dc6f4aaafbe9e745fd1183b7a7a91aeeae99fcd.zip |
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 'net/irda/irttp.c')
0 files changed, 0 insertions, 0 deletions