commit | 08e380a53a92a445bdfd98e09680237bf0c269aa | [log] [tgz] |
---|---|---|
author | Laxman Dewangan <ldewangan@nvidia.com> | Fri Apr 08 00:13:04 2016 +0530 |
committer | Lee Jones <lee.jones@linaro.org> | Tue Apr 19 07:55:40 2016 +0100 |
tree | 7600e7394cd94f756c1facd15f37bd3be944483e | |
parent | 7990ad17a9debc2c91ffc1413d01450c982fcb8d [diff] |
mfd: mt6397: 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: John Crispin <blogic@openwrt.org> Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>