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 <tzimmermann@suse.de> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Neil Armstrong <neil.armstrong@linaro.org> Cc: Jessica Zhang <quic_jesszhan@quicinc.com> Reviewed-by: Jessica Zhang <quic_jesszhan@quicinc.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240731122311.1143153-4-tzimmermann@suse.de
1 parent ddda654 commit b3a9018

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)