summaryrefslogtreecommitdiff
path: root/drivers/video/backlight/vgg2432a4.c
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2021-09-07 15:47:51 +0300
committerLee Jones <lee.jones@linaro.org>2021-09-23 12:48:00 +0300
commit563edf85ce18a90dd0a7b39e279a691d937205f6 (patch)
tree488fbe262c7625113baa8425b2d86c9a82f9cc04 /drivers/video/backlight/vgg2432a4.c
parent33a5471f8da976bf271a1ebbd6b9d163cb0cb6aa (diff)
downloadlinux-563edf85ce18a90dd0a7b39e279a691d937205f6.tar.xz
backlight: Propagate errors from get_brightness()
backlight.h documents "struct backlight_ops->get_brightness()" to return a negative errno on failure. So far these errors have not been handled in the backlight core. This leads to negative values being exposed through sysfs although only positive values are documented to be reported. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/video/backlight/vgg2432a4.c')
0 files changed, 0 insertions, 0 deletions