[PATCH 3/7] leds: pwm: add a new element 'name' to platform data

2010-09-28 Thread Arun Murthy
A new element 'name' is added to pwm led platform data structure. This is required to identify the pwm device. Signed-off-by: Arun Murthy arun.mur...@stericsson.com Acked-by: Linus Walleij linus.wall...@stericsson.com --- drivers/leds/leds-pwm.c |4 +++- include/linux/leds_pwm.h |1 + 2

Re: [PATCH 3/7] leds: pwm: add a new element 'name' to platform data

2010-09-28 Thread Sergei Shtylyov
Hello. On 28-09-2010 14:35, Arun Murthy wrote: A new element 'name' is added to pwm led platform data structure. This is required to identify the pwm device. Signed-off-by: Arun Murthyarun.mur...@stericsson.com Acked-by: Linus Walleijlinus.wall...@stericsson.com [...] diff --git

RE: [PATCH 3/7] leds: pwm: add a new element 'name' to platform data

2010-09-28 Thread Arun MURTHY
@@ -16,6 +16,7 @@ struct led_pwm { struct led_pwm_platform_data { int num_leds; struct led_pwm *leds; + char *name; }; Shouldn't '*name'be aligned, at least with '*leds'? Sure, will take care of this in the v2 patch. Thanks and Regards, Arun R