aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/video/backlight
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/backlight
parentMerge branch 'for-4.7/pwm-args' into for-4.7/pwm-atomic (diff)
downloadwireguard-linux-3587c260906259632df07652743269627f408d85.tar.xz
wireguard-linux-3587c260906259632df07652743269627f408d85.zip
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/backlight')
0 files changed, 0 insertions, 0 deletions