pwm: rockchip: Use same PWM ops for each IP
authorDavid Wu <david.wu@rock-chips.com>
Tue, 8 Aug 2017 15:41:28 +0000 (23:41 +0800)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 18 Aug 2017 15:42:30 +0000 (17:42 +0200)
commit831b2790507b3aac3213e9f39c714d85b0220098
tree39793c3b3cf2f7ac26cc7067508a21f3f421ad56
parentbc834d7b07b4e57c89607c929dcb5eabb17b47a7
pwm: rockchip: Use same PWM ops for each IP

Just use the same PWM ops for each IP, and get rid of the ops in struct
rockchip_pwm_data, but still define the three different instances of the
struct to use common interface for each IP.

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