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 --- board/ti/beagle/led.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'board/ti') diff --git a/board/ti/beagle/led.c b/board/ti/beagle/led.c index 1779242..ac21a95 100644 --- a/board/ti/beagle/led.c +++ b/board/ti/beagle/led.c @@ -29,12 +29,12 @@ #define BEAGLE_LED_USR1 149 #ifdef STATUS_LED_GREEN -void green_LED_off (void) +void green_led_off(void) { __led_set (STATUS_LED_GREEN, 0); } -void green_LED_on (void) +void green_led_on(void) { __led_set (STATUS_LED_GREEN, 1); } -- cgit v1.1