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

backlight: lm3533-backlight: 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-12-tzimmermann@suse.de
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Thomas Zimmermann and committed by
Lee Jones
761c8391 814d3e82

+1 -2
+1 -2
drivers/video/backlight/lm3533_bl.c
··· 11 11 #include <linux/init.h> 12 12 #include <linux/platform_device.h> 13 13 #include <linux/backlight.h> 14 - #include <linux/fb.h> 15 14 #include <linux/slab.h> 16 15 17 16 #include <linux/mfd/lm3533.h> ··· 343 344 344 345 dev_dbg(&bd->dev, "%s\n", __func__); 345 346 346 - bd->props.power = FB_BLANK_POWERDOWN; 347 + bd->props.power = BACKLIGHT_POWER_OFF; 347 348 bd->props.brightness = 0; 348 349 349 350 lm3533_ctrlbank_disable(&bl->cb);