diff options
author | Jason Kridner <jkridner@beagleboard.org> | 2011-09-04 14:40:16 -0400 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-09-13 08:30:52 +0200 |
commit | 2d3be7c456f9d0bcfd4d4b0515aecd32d6a06037 (patch) | |
tree | 346a178e413eaa4b9a545366d4c0452bcbeef4fe /include/status_led.h | |
parent | 43de24fdc7f5715423441e6538a16afe2d4ad168 (diff) | |
download | u-boot-midas-2d3be7c456f9d0bcfd4d4b0515aecd32d6a06037.tar.gz u-boot-midas-2d3be7c456f9d0bcfd4d4b0515aecd32d6a06037.tar.bz2 u-boot-midas-2d3be7c456f9d0bcfd4d4b0515aecd32d6a06037.zip |
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 'include/status_led.h')
-rw-r--r-- | include/status_led.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/include/status_led.h b/include/status_led.h index 360195c961..59143296c3 100644 --- a/include/status_led.h +++ b/include/status_led.h @@ -357,24 +357,24 @@ extern void __led_set (led_id_t mask, int state); */ #ifndef __ASSEMBLY__ extern void coloured_LED_init (void); -extern void red_LED_on(void); -extern void red_LED_off(void); -extern void green_LED_on(void); -extern void green_LED_off(void); -extern void yellow_LED_on(void); -extern void yellow_LED_off(void); -extern void blue_LED_on(void); -extern void blue_LED_off(void); +extern void red_led_on(void); +extern void red_led_off(void); +extern void green_led_on(void); +extern void green_led_off(void); +extern void yellow_led_on(void); +extern void yellow_led_off(void); +extern void blue_led_on(void); +extern void blue_led_off(void); #else .extern LED_init - .extern red_LED_on - .extern red_LED_off - .extern yellow_LED_on - .extern yellow_LED_off - .extern green_LED_on - .extern green_LED_off - .extern blue_LED_on - .extern blue_LED_off + .extern red_led_on + .extern red_led_off + .extern yellow_led_on + .extern yellow_led_off + .extern green_led_on + .extern green_led_off + .extern blue_led_on + .extern blue_led_off #endif #endif /* CONFIG_STATUS_LED */ |