]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
pwm: atmel-tcb: prepare clk before calling enable
authorBoris BREZILLON <b.brezillon@overkiz.com>
Fri, 7 Jun 2013 16:26:42 +0000 (18:26 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 12 Jun 2013 10:51:44 +0000 (12:51 +0200)
commit8796f9c5656dedd186eda88c07db6a58d1985938
tree41c0301ffb5afa2021573b53bfe0eb1a64bc32c3
parent77f0b9d2ff0c8ff7b36033dfc5b29dab7a0ebd9a
pwm: atmel-tcb: prepare clk before calling enable

Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.

Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-atmel-tcb.c