aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2016-04-06 09:49:47 -0400
committerMark Brown <broonie@kernel.org>2016-04-06 10:12:26 -0700
commit314a8203b6de2df164399996ece1412ae8f6270d (patch)
treeeebd1462e9b0fc0d335b960902330b76e0626af6 /include/linux/regulator
parentLinux 4.6-rc1 (diff)
downloadlinux-dev-314a8203b6de2df164399996ece1412ae8f6270d.tar.xz
linux-dev-314a8203b6de2df164399996ece1412ae8f6270d.zip
regulator: max77686: Use module_platform_driver() instead subsys initcall
The driver's init and exit function don't do anything besides registering and unregistering the platform driver, so the module_platform_driver() macro could just be used instead of having separate functions. Currently the macro is not being used because the driver is initialized at subsys init call level but this isn't necessary since consumer devices are defined in the DT as dependencies so there's no need for init calls order. Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/regulator')
0 files changed, 0 insertions, 0 deletions