From: Thomas Zimmermann Date: Wed, 31 Jul 2024 12:17:19 +0000 (+0200) Subject: drm/panel: panel-sony-acx565akm: Use backlight power constants X-Git-Tag: v6.12-rc1~126^2~21^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=649ae0e0d55f6d432ea73298929560ecdfaabd05;p=thirdparty%2Fkernel%2Flinux.git 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: Thomas Zimmermann Cc: Neil Armstrong Cc: Jessica Zhang Reviewed-by: Jessica Zhang Link: https://patchwork.freedesktop.org/patch/msgid/20240731122311.1143153-8-tzimmermann@suse.de --- diff --git a/drivers/gpu/drm/panel/panel-sony-acx565akm.c b/drivers/gpu/drm/panel/panel-sony-acx565akm.c index 73ba93ff00fed..217f03569494c 100644 --- a/drivers/gpu/drm/panel/panel-sony-acx565akm.c +++ b/drivers/gpu/drm/panel/panel-sony-acx565akm.c @@ -342,7 +342,7 @@ static const struct backlight_ops acx565akm_bl_ops = { static int acx565akm_backlight_init(struct acx565akm_panel *lcd) { struct backlight_properties props = { - .power = FB_BLANK_UNBLANK, + .power = BACKLIGHT_POWER_ON, .type = BACKLIGHT_RAW, }; int ret;