summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm926ejs
diff options
context:
space:
mode:
authorJason Kridner <jkridner@beagleboard.org>2011-09-04 14:40:16 -0400
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-13 08:30:52 +0200
commit2d3be7c456f9d0bcfd4d4b0515aecd32d6a06037 (patch)
tree346a178e413eaa4b9a545366d4c0452bcbeef4fe /arch/arm/cpu/arm926ejs
parent43de24fdc7f5715423441e6538a16afe2d4ad168 (diff)
downloadu-boot-imx-2d3be7c456f9d0bcfd4d4b0515aecd32d6a06037.zip
u-boot-imx-2d3be7c456f9d0bcfd4d4b0515aecd32d6a06037.tar.gz
u-boot-imx-2d3be7c456f9d0bcfd4d4b0515aecd32d6a06037.tar.bz2
led: remove camel casing of led identifiers globally
Result of running the following command to address Wolfgang's comment about camel case: for file in `find . | grep '\.[chS]$'`; do perl -i -pe 's/(green|yellow|red|blue)_LED_(on|off)/$1_led_$2/g' $file; done Discussion: http://patchwork.ozlabs.org/patch/84988/ Signed-off-by: Jason Kridner <jkridner@beagleboard.org> Signed-off-by: Joel A Fernandes <agnel.joel@gmail.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'arch/arm/cpu/arm926ejs')
-rw-r--r--arch/arm/cpu/arm926ejs/at91/led.c12
-rw-r--r--arch/arm/cpu/arm926ejs/start.S2
2 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/cpu/arm926ejs/at91/led.c b/arch/arm/cpu/arm926ejs/at91/led.c
index 6bcfa7f..6e59c86 100644
--- a/arch/arm/cpu/arm926ejs/at91/led.c
+++ b/arch/arm/cpu/arm926ejs/at91/led.c
@@ -29,36 +29,36 @@
#include <asm/arch/gpio.h>
#ifdef CONFIG_RED_LED
-void red_LED_on(void)
+void red_led_on(void)
{
at91_set_gpio_value(CONFIG_RED_LED, 1);
}
-void red_LED_off(void)
+void red_led_off(void)
{
at91_set_gpio_value(CONFIG_RED_LED, 0);
}
#endif
#ifdef CONFIG_GREEN_LED
-void green_LED_on(void)
+void green_led_on(void)
{
at91_set_gpio_value(CONFIG_GREEN_LED, 0);
}
-void green_LED_off(void)
+void green_led_off(void)
{
at91_set_gpio_value(CONFIG_GREEN_LED, 1);
}
#endif
#ifdef CONFIG_YELLOW_LED
-void yellow_LED_on(void)
+void yellow_led_on(void)
{
at91_set_gpio_value(CONFIG_YELLOW_LED, 0);
}
-void yellow_LED_off(void)
+void yellow_led_off(void)
{
at91_set_gpio_value(CONFIG_YELLOW_LED, 1);
}
diff --git a/arch/arm/cpu/arm926ejs/start.S b/arch/arm/cpu/arm926ejs/start.S
index 16e35c2..d164d6d 100644
--- a/arch/arm/cpu/arm926ejs/start.S
+++ b/arch/arm/cpu/arm926ejs/start.S
@@ -270,7 +270,7 @@ clbss_l:str r2, [r0] /* clear loop... */
bne clbss_l
bl coloured_LED_init
- bl red_LED_on
+ bl red_led_on
#endif
/*