From 2d3be7c456f9d0bcfd4d4b0515aecd32d6a06037 Mon Sep 17 00:00:00 2001 From: Jason Kridner Date: Sun, 4 Sep 2011 14:40:16 -0400 Subject: 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 Signed-off-by: Joel A Fernandes Signed-off-by: Sandeep Paulraj --- common/cmd_led.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'common/cmd_led.c') diff --git a/common/cmd_led.c b/common/cmd_led.c index 0e4ebc59c..f55f94c90 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 } }; -- cgit v1.2.3-70-g09d2