diff options
author | 2013-06-07 17:11:26 +0100 | |
---|---|---|
committer | 2013-06-11 12:50:00 +0100 | |
commit | 5a49b4a527e5b72ae3a4f64f078759f83fbd98b5 (patch) | |
tree | ca98bb9334cfba8994641a372254e9ffbd019378 /include/linux/regulator | |
parent | regulator: ab8500-ext: Provide a set_voltage call-back operation (diff) | |
download | linux-5a49b4a527e5b72ae3a4f64f078759f83fbd98b5.tar.gz linux-5a49b4a527e5b72ae3a4f64f078759f83fbd98b5.tar.bz2 linux-5a49b4a527e5b72ae3a4f64f078759f83fbd98b5.zip |
regulator: ab8500-ext: Register as a device in its own right
Some platforms don't support the AB8500 external regulators, so instead
of having a list of is_<platform>() calls prior to calling
ab8500_ext_regulator_init() from ab8500_regulator_probe(), we can only
register as a platform device on platforms which require them. It means
we also have more control over them when booting with Device Tree.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonielinaro.org>
Diffstat (limited to 'include/linux/regulator')
-rw-r--r-- | include/linux/regulator/ab8500.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/regulator/ab8500.h b/include/linux/regulator/ab8500.h index 7c5ff0c55773..75307447cef9 100644 --- a/include/linux/regulator/ab8500.h +++ b/include/linux/regulator/ab8500.h @@ -336,8 +336,4 @@ static inline int ab8500_regulator_debug_exit(struct platform_device *pdev) } #endif -/* AB8500 external regulator functions. */ -int ab8500_ext_regulator_init(struct platform_device *pdev); -void ab8500_ext_regulator_exit(struct platform_device *pdev); - #endif |