commit | 6354316dbe5a13b25bea15d7ffc891be025eb267 | [log] [tgz] |
---|---|---|
author | Alexandre Courbot <acourbot@nvidia.com> | Wed Aug 01 19:20:58 2012 +0900 |
committer | Thierry Reding <thierry.reding@avionic-design.de> | Mon Sep 10 17:05:45 2012 +0200 |
tree | 8163ca9c16c872732d37b39ca26e5cf4a686b7ea | |
parent | 0aa0869c3c9b10338dd92a20fa4a9b6959f177b5 [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>