Re: [PATCH v2] pwm: add devm_pwm_get() and devm_pwm_put()

2012-08-08 Thread Thierry Reding
On Wed, Aug 01, 2012 at 07:20:58PM +0900, Alexandre Courbot wrote: > Add resource managed variants of pwm_get() and pwm_put() for > convenience. Code is largely inspired by the equivalent devm functions > of the regulator framework. > > Signed-off-by: Alexandre Courbot Applied, with minor editor

[PATCH v2] pwm: add devm_pwm_get() and devm_pwm_put()

2012-08-01 Thread Alexandre Courbot
Add resource managed variants of pwm_get() and pwm_put() for convenience. Code is largely inspired by the equivalent devm functions of the regulator framework. Signed-off-by: Alexandre Courbot --- Documentation/driver-model/devres.txt | 4 +++ Documentation/pwm.txt | 3 +- driv