summaryrefslogtreecommitdiff
path: root/drivers/rapidio
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2021-06-21 15:21:48 +0300
committerLee Jones <lee.jones@linaro.org>2021-06-22 16:11:37 +0300
commit1181f2164135d770bdad297290b73d274787389b (patch)
tree134fa16640e815f05d3fd83be8be8a027f6ea9f8 /drivers/rapidio
parentb9481a667a90ec739995e85f91f3672ca44d6ffa (diff)
downloadlinux-1181f2164135d770bdad297290b73d274787389b.tar.xz
backlight: lm3630a: Convert to atomic PWM API and check for errors
The practical upside here is that this only needs a single API call to program the hardware which (depending on the underlaying hardware) can be more effective and prevents glitches. Up to now the return value of the pwm functions was ignored. Fix this and propagate the error to the caller. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/rapidio')
0 files changed, 0 insertions, 0 deletions