mirror of
https://github.com/torvalds/linux.git
synced 2026-03-14 03:16:14 +01:00
backlight: lms283gf05: 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-12-tzimmermann@suse.de Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
parent
4be0de90b7
commit
3b53bf14d4
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ static int lms283gf05_power_set(struct lcd_device *ld, int power)
|
|||
struct lms283gf05_state *st = lcd_get_data(ld);
|
||||
struct spi_device *spi = st->spi;
|
||||
|
||||
if (power <= FB_BLANK_NORMAL) {
|
||||
if (power <= LCD_POWER_REDUCED) {
|
||||
if (st->reset)
|
||||
lms283gf05_reset(st->reset);
|
||||
lms283gf05_toggle(spi, disp_initseq, ARRAY_SIZE(disp_initseq));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue