Skip to content

Commit b3a9018

Browse files
committed
drm/panel: panel-novatak-nt35510: 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 or semantics. Signed-off-by: Thomas Zimmermann <[email protected]> Cc: Linus Walleij <[email protected]> Cc: Neil Armstrong <[email protected]> Cc: Jessica Zhang <[email protected]> Reviewed-by: Jessica Zhang <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent ddda654 commit b3a9018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/panel/panel-novatek-nt35510.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ static int nt35510_probe(struct mipi_dsi_device *dsi)
11661166
bl->props.brightness = nt->conf->wrdisbv;
11671167
else
11681168
bl->props.brightness = 255;
1169-
bl->props.power = FB_BLANK_POWERDOWN;
1169+
bl->props.power = BACKLIGHT_POWER_OFF;
11701170
nt->panel.backlight = bl;
11711171
}
11721172

0 commit comments

Comments
 (0)