diff options
author | Magnus Damm <damm@opensource.se> | 2010-02-25 06:14:28 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-02-26 01:30:09 -0500 |
commit | b5f5fe80fa98a60daa0fa94512d1599b1e26674c (patch) | |
tree | 23ff3a9da9bda0f16a96c655464b4f07bc92f56f /arch/sh/boards/mach-migor/setup.c | |
parent | 6b3b55750b0de4a4ff2742efd34ff74665fa4e2f (diff) |
sh: remove dead LED code for migo-r and ms7724se
CONFIG_PM is always set on SH-Mobile these days so
get rid of the unused LED setup code.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/mach-migor/setup.c')
-rw-r--r-- | arch/sh/boards/mach-migor/setup.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c index d1e51a9baf9c..e08d5132bb1e 100644 --- a/arch/sh/boards/mach-migor/setup.c +++ b/arch/sh/boards/mach-migor/setup.c | |||
@@ -496,23 +496,11 @@ static int __init migor_devices_setup(void) | |||
496 | &migor_sdram_enter_end, | 496 | &migor_sdram_enter_end, |
497 | &migor_sdram_leave_start, | 497 | &migor_sdram_leave_start, |
498 | &migor_sdram_leave_end); | 498 | &migor_sdram_leave_end); |
499 | #ifdef CONFIG_PM | ||
500 | /* Let D11 LED show STATUS0 */ | 499 | /* Let D11 LED show STATUS0 */ |
501 | gpio_request(GPIO_FN_STATUS0, NULL); | 500 | gpio_request(GPIO_FN_STATUS0, NULL); |
502 | 501 | ||
503 | /* Lit D12 LED show PDSTATUS */ | 502 | /* Lit D12 LED show PDSTATUS */ |
504 | gpio_request(GPIO_FN_PDSTATUS, NULL); | 503 | gpio_request(GPIO_FN_PDSTATUS, NULL); |
505 | #else | ||
506 | /* Lit D11 LED */ | ||
507 | gpio_request(GPIO_PTJ7, NULL); | ||
508 | gpio_direction_output(GPIO_PTJ7, 1); | ||
509 | gpio_export(GPIO_PTJ7, 0); | ||
510 | |||
511 | /* Lit D12 LED */ | ||
512 | gpio_request(GPIO_PTJ5, NULL); | ||
513 | gpio_direction_output(GPIO_PTJ5, 1); | ||
514 | gpio_export(GPIO_PTJ5, 0); | ||
515 | #endif | ||
516 | 504 | ||
517 | /* SMC91C111 - Enable IRQ0, Setup CS4 for 16-bit fast access */ | 505 | /* SMC91C111 - Enable IRQ0, Setup CS4 for 16-bit fast access */ |
518 | gpio_request(GPIO_FN_IRQ0, NULL); | 506 | gpio_request(GPIO_FN_IRQ0, NULL); |