summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ks8695/devices.c
diff options
context:
space:
mode:
authorBryan Wu <bryan.wu@canonical.com>2012-03-14 01:25:26 +0800
committerBryan Wu <bryan.wu@canonical.com>2012-08-01 11:22:05 +0800
commitae5362d2c26c031fdb35ebd9c768eea62f38f25a (patch)
tree85927079be1084dfde911d306e5bce096fbecc8a /arch/arm/mach-ks8695/devices.c
parente031cd513ec2ff661465dc1198220075719e72d1 (diff)
ARM: mach-ks8695: remove leds driver, since nobody use it
Signed-off-by: Bryan Wu <bryan.wu@canonical.com> Acked-by: Andrew Victor <linux@maxim.org.za>
Diffstat (limited to 'arch/arm/mach-ks8695/devices.c')
-rw-r--r--arch/arm/mach-ks8695/devices.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/arm/mach-ks8695/devices.c b/arch/arm/mach-ks8695/devices.c
index 73bd63812878..47399bc3c024 100644
--- a/arch/arm/mach-ks8695/devices.c
+++ b/arch/arm/mach-ks8695/devices.c
@@ -182,27 +182,6 @@ static void __init ks8695_add_device_watchdog(void)
}
-/* --------------------------------------------------------------------
- * LEDs
- * -------------------------------------------------------------------- */
-
-#if defined(CONFIG_LEDS)
-short ks8695_leds_cpu = -1;
-short ks8695_leds_timer = -1;
-
-void __init ks8695_init_leds(u8 cpu_led, u8 timer_led)
-{
- /* Enable GPIO to access the LEDs */
- gpio_direction_output(cpu_led, 1);
- gpio_direction_output(timer_led, 1);
-
- ks8695_leds_cpu = cpu_led;
- ks8695_leds_timer = timer_led;
-}
-#else
-void __init ks8695_init_leds(u8 cpu_led, u8 timer_led) {}
-#endif
-
/* -------------------------------------------------------------------- */
/*