]> git.karo-electronics.de Git - linux-beck.git/commit
mfd: sky81452: Use devm_mfd_add_devices() for mfd_device registration
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 7 Apr 2016 18:43:09 +0000 (00:13 +0530)
committerLee Jones <lee.jones@linaro.org>
Tue, 19 Apr 2016 06:56:28 +0000 (07:56 +0100)
commit69633beaebf345cde6672a9ac7679c88fc0c3245
tree2b8dae7f52c8404cc84208ff66c130ce1b8c92af
parent6b719eba9f01cd65ede04e64f20f648f8dbe6359
mfd: sky81452: 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: Gyungoh Yoo <jack.yoo@skyworksinc.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/sky81452.c