diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-06-21 14:21:47 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-06-22 14:10:19 +0100 |
commit | b9481a667a90ec739995e85f91f3672ca44d6ffa (patch) | |
tree | 03d9c3e4697871219c2fcfba07fb4b4e5017f82e /drivers/md/raid0.c | |
parent | 2c538940d97cb67b3fde953f1267798e03a9a4ad (diff) | |
download | lwn-b9481a667a90ec739995e85f91f3672ca44d6ffa.tar.gz lwn-b9481a667a90ec739995e85f91f3672ca44d6ffa.zip |
backlight: lm3630a: Fix return code of .update_status() callback
According to <linux/backlight.h> .update_status() is supposed to
return 0 on success and a negative error code otherwise. Adapt
lm3630a_bank_a_update_status() and lm3630a_bank_b_update_status() to
actually do it.
While touching that also add the error code to the failure message.
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/md/raid0.c')
0 files changed, 0 insertions, 0 deletions