On Wed, Jul 01, 2015 at 10:21:47AM +0200, Boris Brezillon wrote: > Some PWM drivers are testing the PWMF_ENABLED flag. Create an helper > function to hide the logic behind enabled test. > This will allow us to smoothly move from the current approach to an atomic > PWM update approach. > > Signed-off-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxxxxxxx> > --- > drivers/pwm/core.c | 4 ++-- > drivers/pwm/pwm-atmel-tcb.c | 2 +- > drivers/pwm/pwm-atmel.c | 6 +++--- > drivers/pwm/pwm-bcm-kona.c | 4 ++-- > drivers/pwm/pwm-ep93xx.c | 4 ++-- > drivers/pwm/pwm-imx.c | 2 +- > drivers/pwm/pwm-mxs.c | 4 ++-- > drivers/pwm/pwm-renesas-tpu.c | 2 +- > drivers/pwm/pwm-tegra.c | 6 +++--- > drivers/pwm/pwm-tiecap.c | 10 +++++----- > drivers/pwm/pwm-tiehrpwm.c | 6 +++--- > drivers/pwm/sysfs.c | 2 +- > include/linux/pwm.h | 5 +++++ > 13 files changed, 31 insertions(+), 26 deletions(-) Applied, thanks. Thierry
Attachment:
signature.asc
Description: PGP signature