pwm: Convert pwm-tegra to use devm_clk_get()
authorAxel Lin <axel.lin@gmail.com>
Sun, 1 Jul 2012 05:00:51 +0000 (13:00 +0800)
committerThierry Reding <thierry.reding@avionic-design.de>
Mon, 23 Jul 2012 11:24:02 +0000 (13:24 +0200)
commit0c8f527d8c80a027b46798127a6dd815b4bb99c2
tree751e7f9bdb2ddbb124f23f134e93eb7b5c0a8a8e
parent457fd768ee1f7c78e85dfbe86329e6b24eb36514
pwm: Convert pwm-tegra to use devm_clk_get()

Also return proper error in tegra_pwm_remove() if pwmchip_remove()
fails.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
drivers/pwm/pwm-tegra.c