pwm: rockchip: Use pwm_apply() instead of pwm_enable()
authorDavid Wu <david.wu@rock-chips.com>
Tue, 8 Aug 2017 15:38:31 +0000 (23:38 +0800)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 18 Aug 2017 15:36:56 +0000 (17:36 +0200)
commited054693d77f9c98da18f7c3ff19dfa41692520f
tree9d56b9b2b5fc3389de05145942d1eb24e58bcb83
parentf90df9cda68d774c600860e32602b04c741bf95c
pwm: rockchip: Use pwm_apply() instead of pwm_enable()

Drop the custom hook of pwm_enable() and implement pwm_apply_v1() and
pwm_apply_v2() instead.

Signed-off-by: David Wu <david.wu@rock-chips.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-rockchip.c