Skip to content

Commit

Permalink
ARM: mach-ks8695: remove leds driver, since nobody use it
Browse files Browse the repository at this point in the history
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
Acked-by: Andrew Victor <linux@maxim.org.za>
  • Loading branch information
Bryan Wu committed Aug 1, 2012
1 parent e031cd5 commit ae5362d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 121 deletions.
3 changes: 0 additions & 3 deletions arch/arm/mach-ks8695/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ obj- :=
# PCI support is optional
obj-$(CONFIG_PCI) += pci.o

# LEDs
obj-$(CONFIG_LEDS) += leds.o

# Board-specific support
obj-$(CONFIG_MACH_KS8695) += board-micrel.o
obj-$(CONFIG_MACH_DSM320) += board-dsm320.o
Expand Down
21 changes: 0 additions & 21 deletions arch/arm/mach-ks8695/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

/* -------------------------------------------------------------------- */

/*
Expand Down
5 changes: 0 additions & 5 deletions arch/arm/mach-ks8695/include/mach/devices.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ extern void __init ks8695_add_device_wan(void);
extern void __init ks8695_add_device_lan(void);
extern void __init ks8695_add_device_hpna(void);

/* LEDs */
extern short ks8695_leds_cpu;
extern short ks8695_leds_timer;
extern void __init ks8695_init_leds(u8 cpu_led, u8 timer_led);

/* PCI */
#define KS8695_MODE_PCI 0
#define KS8695_MODE_MINIPCI 1
Expand Down
92 changes: 0 additions & 92 deletions arch/arm/mach-ks8695/leds.c

This file was deleted.

0 comments on commit ae5362d

Please sign in to comment.