From: Sachin Kamat Date: Mon, 17 Sep 2012 06:20:47 +0000 (+0530) Subject: pwm-backlight: Use devm_pwm_get() instead of pwm_get() X-Git-Tag: v3.7-rc1~59^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60ce70285b4d3b933eea15e494a9b35fe85b19b7;p=pandora-kernel.git pwm-backlight: Use devm_pwm_get() instead of pwm_get() 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 Signed-off-by: Sachin Kamat Acked-by: Jingoo Han Signed-off-by: Thierry Reding --- Reading git-diff-tree failed