RE: [PATCH 1/7] pwm: Add pwm core driver

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

 



> On 28 of September 2010 11:38:26 Arun MURTHY wrote:
> 
> > >
> > > Why pwm_free is marked __deprecated? What is its successor?
> >
> > This function is to be removed.
> 
> What should be used as replacement?
> 
No replacement, this function is not required.
In the existing scenario, pwm_request will add to the list and pwm_free will remove the driver from list. Not all the pwm drivers register with the pwm core driver and hence pwm core driver maintains a list, wherein it keeps adding the registered pwm drivers to the list. This is removed from the list by unregistering with the core driver.
Hence pwm_free is not required.

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