pwm: Add devm_of_pwm_get() as exported API for users
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 21 Dec 2012 09:43:59 +0000 (01:43 -0800)
committerBryan Wu <cooloney@gmail.com>
Sat, 2 Feb 2013 01:47:05 +0000 (17:47 -0800)
commit261a5edd3ac77ecb4b33310a1dd1ed8d656f0569
tree61e966d8cdd8c116f128cbe3843841661f0f254c
parent8eb9612799605a7988d1c97cdc5980a5b8f04c56
pwm: Add devm_of_pwm_get() as exported API for users

When booted with DT users can use devm version of of_pwm_get() to benefit
from automatic resource release.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/pwm/core.c
include/linux/pwm.h