]> git.karo-electronics.de Git - linux-beck.git/commit
mfd: bcm590xx: Use devm_mfd_add_devices() for mfd_device registration
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 7 Apr 2016 18:43:00 +0000 (00:13 +0530)
committerLee Jones <lee.jones@linaro.org>
Tue, 19 Apr 2016 06:55:05 +0000 (07:55 +0100)
commit9148f2c01827fe1c8c8d589ac54b0f459759d78b
tree7ff16c9b51f997eb3393d748b4b887d9cf4aaa72
parentf32fb9a593704a32ddc395686fa00075d10df173
mfd: bcm590xx: Use devm_mfd_add_devices() for mfd_device registration

Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.

CC: Matt Porter <mporter@linaro.org>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/bcm590xx.c