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

2012-08-01 Thread Thierry Reding
On Wed, Aug 01, 2012 at 05:17:48PM +0900, Alex Courbot wrote: > On Wed 01 Aug 2012 05:04:53 PM JST, Thierry Reding wrote: > >* PGP Signed by an unknown key > > > >On Wed, Aug 01, 2012 at 04:37:09PM +0900, Alexandre Courbot wrote: > >>+/** > >>+ * devm_pwm_get() - Resource managed pwm_get() > > > >T

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

2012-08-01 Thread Alex Courbot
On Wed 01 Aug 2012 05:04:53 PM JST, Thierry Reding wrote: * PGP Signed by an unknown key On Wed, Aug 01, 2012 at 04:37:09PM +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

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

2012-08-01 Thread Thierry Reding
On Wed, Aug 01, 2012 at 04:37:09PM +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 > --- > Documentation/driv

[PATCH] 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 | 5 +-- dri