pwm-backlight: Use devm_pwm_get() instead of pwm_get()
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 17 Sep 2012 06:20:47 +0000 (11:50 +0530)
committerThierry Reding <thierry.reding@avionic-design.de>
Fri, 5 Oct 2012 18:56:39 +0000 (20:56 +0200)
Managed versions of the pwm_get() and pwm_put() functions were recently
added to the PWM framework. They can be used to simplify cleanup in the
error paths and the device removal callback.

Cc: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>

No differences found