Commit 649ae0e0 authored by Thomas Zimmermann's avatar Thomas Zimmermann

drm/panel: panel-sony-acx565akm: 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: default avatarThomas Zimmermann <tzimmermann@suse.de>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Jessica Zhang <quic_jesszhan@quicinc.com>
Reviewed-by: default avatarJessica Zhang <quic_jesszhan@quicinc.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240731122311.1143153-8-tzimmermann@suse.de
parent 7f75eb22
...@@ -342,7 +342,7 @@ static const struct backlight_ops acx565akm_bl_ops = { ...@@ -342,7 +342,7 @@ static const struct backlight_ops acx565akm_bl_ops = {
static int acx565akm_backlight_init(struct acx565akm_panel *lcd) static int acx565akm_backlight_init(struct acx565akm_panel *lcd)
{ {
struct backlight_properties props = { struct backlight_properties props = {
.power = FB_BLANK_UNBLANK, .power = BACKLIGHT_POWER_ON,
.type = BACKLIGHT_RAW, .type = BACKLIGHT_RAW,
}; };
int ret; int ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment