aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorChristoph Egger <siccegge@cs.fau.de>2010-07-04 11:28:23 -0400
committerEric Miao <eric.y.miao@gmail.com>2010-08-05 02:32:32 -0400
commit556a460e5d99eddc1a37bf689108d14f5d7e7668 (patch)
treef975408f3794c59792b5cb6705639531f0cc63a0 /arch/arm/mach-pxa
parent8ae807c581338bc7d0b870bfb4c8caac3772ca64 (diff)
[ARM] pxa: removing dead CORGI_SSP_DEPRECATED
CORGI_SSP_DEPRECATED doesn't exist in Kconfig, therefore removing all references for it from the source code. Signed-off-by: Christoph Egger <siccegge@cs.fau.de> Acked-by: Kristoffer Ericson <kristoffer.ericson@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r--arch/arm/mach-pxa/Kconfig1
-rw-r--r--arch/arm/mach-pxa/sharpsl_pm.c5
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig
index 2bd33ff7d5f..21d12246c5e 100644
--- a/arch/arm/mach-pxa/Kconfig
+++ b/arch/arm/mach-pxa/Kconfig
@@ -682,7 +682,6 @@ config SHARPSL_PM
682 682
683config SHARPSL_PM_MAX1111 683config SHARPSL_PM_MAX1111
684 bool 684 bool
685 depends on !CORGI_SSP_DEPRECATED
686 select HWMON 685 select HWMON
687 select SENSORS_MAX1111 686 select SENSORS_MAX1111
688 687
diff --git a/arch/arm/mach-pxa/sharpsl_pm.c b/arch/arm/mach-pxa/sharpsl_pm.c
index 582701e5337..d8c5301294c 100644
--- a/arch/arm/mach-pxa/sharpsl_pm.c
+++ b/arch/arm/mach-pxa/sharpsl_pm.c
@@ -180,17 +180,12 @@ int sharpsl_pm_pxa_read_max1111(int channel)
180 if (machine_is_tosa()) 180 if (machine_is_tosa())
181 return 0; 181 return 0;
182 182
183#ifdef CONFIG_CORGI_SSP_DEPRECATED
184 return corgi_ssp_max1111_get((channel << MAXCTRL_SEL_SH) | MAXCTRL_PD0 | MAXCTRL_PD1
185 | MAXCTRL_SGL | MAXCTRL_UNI | MAXCTRL_STR);
186#else
187 extern int max1111_read_channel(int); 183 extern int max1111_read_channel(int);
188 184
189 /* max1111 accepts channels from 0-3, however, 185 /* max1111 accepts channels from 0-3, however,
190 * it is encoded from 0-7 here in the code. 186 * it is encoded from 0-7 here in the code.
191 */ 187 */
192 return max1111_read_channel(channel >> 1); 188 return max1111_read_channel(channel >> 1);
193#endif
194} 189}
195 190
196static int get_percentage(int voltage) 191static int get_percentage(int voltage)