summaryrefslogtreecommitdiff
path: root/Documentation/driver-model/devres.txt
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2012-08-01 19:20:58 +0900
committerThierry Reding <thierry.reding@avionic-design.de>2012-09-10 17:05:45 +0200
commit6354316dbe5a13b25bea15d7ffc891be025eb267 (patch)
tree8163ca9c16c872732d37b39ca26e5cf4a686b7ea /Documentation/driver-model/devres.txt
parent0aa0869c3c9b10338dd92a20fa4a9b6959f177b5 (diff)
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>
Diffstat (limited to 'Documentation/driver-model/devres.txt')
-rw-r--r--Documentation/driver-model/devres.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt
index 950856bd2e39..43cff70465ab 100644
--- a/Documentation/driver-model/devres.txt
+++ b/Documentation/driver-model/devres.txt
@@ -284,3 +284,7 @@ CLOCK
PINCTRL
devm_pinctrl_get()
devm_pinctrl_put()
+
+PWM
+ devm_pwm_get()
+ devm_pwm_put()