From 556a460e5d99eddc1a37bf689108d14f5d7e7668 Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Sun, 4 Jul 2010 23:28:23 +0800 Subject: [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 Acked-by: Kristoffer Ericson Signed-off-by: Eric Miao --- arch/arm/mach-pxa/sharpsl_pm.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'arch/arm/mach-pxa/sharpsl_pm.c') 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) if (machine_is_tosa()) return 0; -#ifdef CONFIG_CORGI_SSP_DEPRECATED - return corgi_ssp_max1111_get((channel << MAXCTRL_SEL_SH) | MAXCTRL_PD0 | MAXCTRL_PD1 - | MAXCTRL_SGL | MAXCTRL_UNI | MAXCTRL_STR); -#else extern int max1111_read_channel(int); /* max1111 accepts channels from 0-3, however, * it is encoded from 0-7 here in the code. */ return max1111_read_channel(channel >> 1); -#endif } static int get_percentage(int voltage) -- cgit v1.2.3-18-g5258