rk_pwm: remove grf setting code from driver
authorKever Yang <kever.yang@rock-chips.com>
Fri, 12 Aug 2016 09:58:02 +0000 (17:58 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 22 Sep 2016 13:32:22 +0000 (07:32 -0600)
commite2e4e1453680a0a5e87f3976bf48ebfe02c9e192
tree9c0a55bc955bd3c0e5cdf219b2bb88d6750e8fec
parent12406ae247736bb6dfd4a92431caec33ab2a54d7
rk_pwm: remove grf setting code from driver

We consider the grf setting for pwm controller select as the system
operation instead of driver operation, move it to soc init, let's
remove it from pwm driver first.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/pwm/rk_pwm.c