]> git.sur5r.net Git - u-boot/commit
rk_pwm: use clock framework API to get module clock
authorKever Yang <kever.yang@rock-chips.com>
Fri, 12 Aug 2016 09:57:48 +0000 (17:57 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 22 Sep 2016 13:32:22 +0000 (07:32 -0600)
commit12406ae247736bb6dfd4a92431caec33ab2a54d7
treeb46bcf38bcb7e50daf28d1756b122007f58429d4
parentce26e8a1ddd55fc09e527f8381d54c35a02364c2
rk_pwm: use clock framework API to get module clock

This patch use clock API instead of hardcode for get pwm clock.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
Fix printf() to debug() nit:
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/pwm/rk_pwm.c