[PATCH] led: remove camelcase in LED functions from assembly

This was done with the following command-line:

for file in `find . | grep '\.[chS]$'`;
do perl -i -pe 's/(green|yellow|red|blue)_LED_(on|off)/$1_led_$2/g' $file;
done

Signed-off-by: Jason Kridner <jdk@ti.com>

This was done with the following command-line:

for file in `find . | grep '\.[chS]$'`;
do perl -i -pe 's/(green|yellow|red|blue)_LED_(on|off)/$1_led_$2/g' $file;
done

one line:
find . -name '*.[chS]' -exec \
  sed -ri 's/(green|yellow|red|blue)_LED_(on|off)/\1_led_\2/g'

--- a/arch/arm/cpu/arm1176/start.S
+++ b/arch/arm/cpu/arm1176/start.S

   bl coloured_LED_init
- bl red_LED_on
+ bl red_led_on

seems like you didnt fix coloured_LED_init

also, i dont see you changing any of the .c files where these funcs are
actually defined
-mike

Hi Mike,

Le 12/09/2011 06:04, Mike Frysinger a �crit :

>> This was done with the following command-line:
>>
>> for file in `find . | grep '\.[chS]$'`;
>>
>> do perl -i -pe 's/(green|yellow|red|blue)_LED_(on|off)/$1_led_$2/g'
>> $file;
>>
>> done
>
> one line:
> find . -name '*.[chS]' -exec \
>
> sed -ri 's/(green|yellow|red|blue)_LED_(on|off)/\1_led_\2/g'
>
>> --- a/arch/arm/cpu/arm1176/start.S
>> +++ b/arch/arm/cpu/arm1176/start.S
>>
>> bl coloured_LED_init
>>
>> - bl red_LED_on
>> + bl red_led_on
>
> seems like you didnt fix coloured_LED_init
>
> also, i dont see you changing any of the .c files where these funcs are
> actually defined

This patch is assumed to apply above the current git tip, where the
function definitions were already changed, and only .S files should be
fixed.

by "current git tip" i'm guessing you mean "current arm master". i was
looking at the mainline u-boot master and the C files weren't changed.

Running MAKEALL arm right now, just to make sure, then I will apply it
on top of u-boot-arm/master.

be nice to send out a single squashed patch to wolfgang rather than a few
known-to-be-broken ones ...
-mike

Le 12/09/2011 18:27, Mike Frysinger a �crit :

you dont need to do that. simply squash them into a branch and have wolfgang
pull that branch. then when you merge his tree back, things get stitched
sanely together via the merge commit.
-mike

Dear Albert ARIBAUD,