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 /common | |
parent | 43de24fdc7f5715423441e6538a16afe2d4ad168 (diff) | |
download | u-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 'common')
-rw-r--r-- | common/cmd_led.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/cmd_led.c b/common/cmd_led.c index 0e4ebc5..f55f94c 100644 --- a/common/cmd_led.c +++ b/common/cmd_led.c @@ -57,16 +57,16 @@ static const led_tbl_t led_commands[] = { #endif #endif #ifdef STATUS_LED_GREEN - { "green", STATUS_LED_GREEN, green_LED_off, green_LED_on, NULL }, + { "green", STATUS_LED_GREEN, green_led_off, green_led_on, NULL }, #endif #ifdef STATUS_LED_YELLOW - { "yellow", STATUS_LED_YELLOW, yellow_LED_off, yellow_LED_on, NULL }, + { "yellow", STATUS_LED_YELLOW, yellow_led_off, yellow_led_on, NULL }, #endif #ifdef STATUS_LED_RED - { "red", STATUS_LED_RED, red_LED_off, red_LED_on, NULL }, + { "red", STATUS_LED_RED, red_led_off, red_led_on, NULL }, #endif #ifdef STATUS_LED_BLUE - { "blue", STATUS_LED_BLUE, blue_LED_off, blue_LED_on, NULL }, + { "blue", STATUS_LED_BLUE, blue_led_off, blue_led_on, NULL }, #endif { NULL, 0, NULL, NULL, NULL } }; |