pwm: add devm_pwm_get() and devm_pwm_put()
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 1 Aug 2012 10:20:58 +0000 (19:20 +0900)
committerThierry Reding <thierry.reding@avionic-design.de>
Mon, 10 Sep 2012 15:05:45 +0000 (17:05 +0200)
commit6354316dbe5a13b25bea15d7ffc891be025eb267
tree8163ca9c16c872732d37b39ca26e5cf4a686b7ea
parent0aa0869c3c9b10338dd92a20fa4a9b6959f177b5
pwm: add devm_pwm_get() and devm_pwm_put()

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 <acourbot@nvidia.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Documentation/driver-model/devres.txt
Documentation/pwm.txt
drivers/pwm/core.c
include/linux/pwm.h
This page took 0.031002 seconds and 5 git commands to generate.