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

Arun MURTHY arun.murthy at stericsson.com
Tue Sep 28 04:36:29 EDT 2010


> On Tue, Sep 28, 2010 at 3:40 PM, Arun Murthy
> <arun.murthy at stericsson.com> wrote:
> > A new element 'name' is added to pwm led platform data structure.
> > This is required to identify the pwm device.
> 
> I cannot see what this name is used for?
> 
This name is referenced in leds-pwm.c and pwm_bl.c. It is passed as a parameter in pwm_request() function.(please refer the next patch i.e PATHC 4/7)
It is used to identify the pwm driver by name.

Thanks and Regards,
Arun R Murthy
-------------


More information about the linux-arm-kernel mailing list