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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Tue, Sep 28, 2010 at 3:40 PM, Arun Murthy
> <arun.murthy@xxxxxxxxxxxxxx> 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
-------------



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux