pwm: Make use of pwm_get_xxx() helpers where appropriate
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 1 Jul 2015 08:21:50 +0000 (10:21 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 20 Jul 2015 07:53:22 +0000 (09:53 +0200)
commit15da7b5001e498fa7dc619d4d7951f9665b071e4
treeb6326e565d42eed52a157f84440475f84760e958
parent011e76314818b6a24d5347b2d83b8a577e6aaae6
pwm: Make use of pwm_get_xxx() helpers where appropriate

Use the pwm_get_xxx() helpers instead of directly accessing the fields
in struct pwm_device. This will allow us to smoothly move to the atomic
update approach.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-atmel.c
drivers/pwm/pwm-bcm-kona.c
drivers/pwm/pwm-imx.c
drivers/pwm/pwm-rockchip.c
drivers/pwm/sysfs.c