summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-tiecap.c
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2012-08-01 12:20:58 +0200
committerThierry Reding <thierry.reding@avionic-design.de>2012-09-10 17:05:45 +0200
commit6354316dbe5a13b25bea15d7ffc891be025eb267 (patch)
tree8163ca9c16c872732d37b39ca26e5cf4a686b7ea /drivers/pwm/pwm-tiecap.c
parentpwm: Add support for configuring the PWM polarity (diff)
downloadlinux-6354316dbe5a13b25bea15d7ffc891be025eb267.tar.xz
linux-6354316dbe5a13b25bea15d7ffc891be025eb267.zip
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 'drivers/pwm/pwm-tiecap.c')
0 files changed, 0 insertions, 0 deletions