On Fri, Jul 03, 2020 at 08:45:43PM +0200, Sam Ravnborg wrote:
Introduce the backlight_get_brightness() helper in all video/backlight/* drivers. This simplifies the code and align the implementation of the update_status() operation across the different backlight drivers.
Some of the drivers gains a little extra functionality by the change as they now respect the fb_blank() ioctl.
Signed-off-by: Sam Ravnborg sam@ravnborg.org
Reviewed-by: Daniel Thompson daniel.thompson@linaro.org
Daniel.