Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <tzimmermann@suse.de>
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-8-tzimmermann@suse.de

+1 -1
+1 -1
drivers/gpu/drm/panel/panel-sony-acx565akm.c
··· 342 342 static int acx565akm_backlight_init(struct acx565akm_panel *lcd) 343 343 { 344 344 struct backlight_properties props = { 345 - .power = FB_BLANK_UNBLANK, 345 + .power = BACKLIGHT_POWER_ON, 346 346 .type = BACKLIGHT_RAW, 347 347 }; 348 348 int ret;