summaryrefslogtreecommitdiff
path: root/drivers/mfd/arizona-spi.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2016-04-21 15:25:55 +0300
committerLee Jones <lee.jones@linaro.org>2016-05-09 15:27:38 +0300
commitb36c82724fa10da7cc73693c6c2c3ab9a6c8034b (patch)
treebc6bfb2b34b1ee9d647c477ec5c01fa3a3d54b7c /drivers/mfd/arizona-spi.c
parent1a5422c9e56a20898a73da5726d935d5d8072f78 (diff)
downloadlinux-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