regulator: ab8500-ext: Remove unused REGULATOR_AB8500_EXT guard
authorLee Jones <lee.jones@linaro.org>
Tue, 2 Apr 2013 12:24:05 +0000 (13:24 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 2 Apr 2013 22:01:41 +0000 (23:01 +0100)
Before the AB8500 External Regulator driver was Mainlined, it used
to be conditionally compiled in using the CONFIG_REGULATOR_AB8500_EXT
flag. During the review process that capability was removed, but the
guard controlling prototyping slipped though the net. This patch
cleans it up.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/linux/regulator/ab8500.h

index bb0140c9d4f485f3bf2d3e5c542f63ef8c162443..44f67e8f1a6dcd17604d1e344c1c10a3878c38c6 100644 (file)
@@ -320,21 +320,6 @@ struct ab8500_regulator_platform_data {
        struct regulator_init_data *ext_regulator;
 };
 
-/* AB8500 external regulator functions (internal) */
-#ifdef CONFIG_REGULATOR_AB8500_EXT
-int ab8500_ext_regulator_init(struct platform_device *pdev);
-int ab8500_ext_regulator_exit(struct platform_device *pdev);
-#else
-inline int ab8500_ext_regulator_init(struct platform_device *pdev)
-{
-       return 0;
-}
-inline int ab8500_ext_regulator_exit(struct platform_device *pdev)
-{
-       return 0;
-}
-#endif
-
 #ifdef CONFIG_REGULATOR_AB8500_DEBUG
 int ab8500_regulator_debug_init(struct platform_device *pdev);
 int ab8500_regulator_debug_exit(struct platform_device *pdev);
@@ -349,4 +334,8 @@ 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);
+int ab8500_ext_regulator_exit(struct platform_device *pdev);
+
 #endif