diff options
| author | Laxman Dewangan <ldewangan@nvidia.com> | 2016-04-21 15:25:56 +0300 |
|---|---|---|
| committer | Lee Jones <lee.jones@linaro.org> | 2016-05-09 15:27:38 +0300 |
| commit | 3dc6f4aaafbe9e745fd1183b7a7a91aeeae99fcd (patch) | |
| tree | a5d098ba2814d47d522bd2ce419fac0420357466 /include/linux/timerqueue.h | |
| parent | b36c82724fa10da7cc73693c6c2c3ab9a6c8034b (diff) | |
| download | linux-3dc6f4aaafbe9e745fd1183b7a7a91aeeae99fcd.tar.xz | |
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 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
