Skip to content

Commit 8befe8f

Browse files
author
Thomas Zimmermann
committed
drm/tilcdc: 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: Jyri Sarha <[email protected]> Cc: Tomi Valkeinen <[email protected]> Reviewed-by: Tomi Valkeinen <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 34aa0a8 commit 8befe8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/tilcdc/tilcdc_panel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ static void panel_encoder_dpms(struct drm_encoder *encoder, int mode)
4949

5050
if (backlight) {
5151
backlight->props.power = mode == DRM_MODE_DPMS_ON ?
52-
FB_BLANK_UNBLANK : FB_BLANK_POWERDOWN;
52+
BACKLIGHT_POWER_ON : BACKLIGHT_POWER_OFF;
5353
backlight_update_status(backlight);
5454
}
5555

0 commit comments

Comments
 (0)