pwm: Use pwm_get/set_xxx() helpers where appropriate
Use pwm_get/set_xxx() helpers instead of directly accessing the pwm->xxx field. Doing that will ease adaptation of the PWM framework to support atomic update. Signed-off-by:Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by:
Thierry Reding <thierry.reding@gmail.com>
Showing
- drivers/pwm/pwm-crc.c 1 addition, 1 deletiondrivers/pwm/pwm-crc.c
- drivers/pwm/pwm-lpc18xx-sct.c 1 addition, 1 deletiondrivers/pwm/pwm-lpc18xx-sct.c
- drivers/pwm/pwm-omap-dmtimer.c 1 addition, 1 deletiondrivers/pwm/pwm-omap-dmtimer.c
- drivers/pwm/pwm-sun4i.c 2 additions, 1 deletiondrivers/pwm/pwm-sun4i.c
Please register or sign in to comment