mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-04 04:02:26 +00:00
backlight: hx8357: Use lcd power constants
Replace FB_BLANK_ constants with their counterparts from the lcd 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/20240906075439.98476-6-tzimmermann@suse.de Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
parent
20929e3691
commit
7629628d61
@ -532,7 +532,7 @@ static int hx8369_lcd_init(struct lcd_device *lcdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#define POWER_IS_ON(pwr) ((pwr) <= FB_BLANK_NORMAL)
|
||||
#define POWER_IS_ON(pwr) ((pwr) <= LCD_POWER_REDUCED)
|
||||
|
||||
static int hx8357_set_power(struct lcd_device *lcdev, int power)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user