summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorBoris BREZILLON <boris.brezillon@free-electrons.com>2016-03-30 22:03:24 +0200
committerThierry Reding <thierry.reding@gmail.com>2016-05-17 14:44:57 +0200
commit3587c260906259632df07652743269627f408d85 (patch)
tree9bf1eaa5639237e91bae0b355b8262f1ce809405 /drivers/video
parent3f1f368e4ab5ac2692e3dfec66a9e6a0a2f6cea7 (diff)
pwm: rcar: Make use of pwm_is_enabled()
Commit 5c31252c4a86 ("pwm: Add the pwm_is_enabled() helper") introduced a new function to test whether a PWM device is enabled or not without manipulating PWM internal fields. Hiding this is necessary if we want to smoothly move to the atomic PWM config approach without impacting PWM drivers. Fix this driver to use pwm_is_enabled() instead of directly accessing the ->flags field. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions