diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2016-04-21 15:25:55 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-05-09 15:27:38 +0300 |
commit | b36c82724fa10da7cc73693c6c2c3ab9a6c8034b (patch) | |
tree | bc6bfb2b34b1ee9d647c477ec5c01fa3a3d54b7c /drivers/mfd/arizona-spi.c | |
parent | 1a5422c9e56a20898a73da5726d935d5d8072f78 (diff) | |
download | linux-b36c82724fa10da7cc73693c6c2c3ab9a6c8034b.tar.xz |
mfd: rc5t583: Use devm_mfd_add_devices and devm_request_threaded_irq
Use devm_mfd_add_devices() for adding MFD child devices and
devm_request_threaded_irq() for IRQ registration.
This reduces the need of remove callback for removing MFD child
devices and unregistering IRQ.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/arizona-spi.c')
0 files changed, 0 insertions, 0 deletions