Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

backlight: journada_bl: Use backlight power constants

Replace FB_BLANK_ constants with their counterparts from the
backlight subsystem. The values are identical, so there's no
change in functionality.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/20240624152033.25016-8-tzimmermann@suse.de
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Thomas Zimmermann and committed by
Lee Jones
6910d19b b6675c59

+1 -2
+1 -2
drivers/video/backlight/jornada720_bl.c
··· 7 7 8 8 #include <linux/backlight.h> 9 9 #include <linux/device.h> 10 - #include <linux/fb.h> 11 10 #include <linux/kernel.h> 12 11 #include <linux/module.h> 13 12 #include <linux/platform_device.h> ··· 120 121 return ret; 121 122 } 122 123 123 - bd->props.power = FB_BLANK_UNBLANK; 124 + bd->props.power = BACKLIGHT_POWER_ON; 124 125 bd->props.brightness = BL_DEF_BRIGHT; 125 126 /* 126 127 * note. make sure max brightness is set otherwise