Skip to content

Commit 649ae0e

Browse files
author
Thomas Zimmermann
committed
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 <[email protected]> Cc: Neil Armstrong <[email protected]> Cc: Jessica Zhang <[email protected]> Reviewed-by: Jessica Zhang <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 7f75eb2 commit 649ae0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/panel/panel-sony-acx565akm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ static const struct backlight_ops acx565akm_bl_ops = {
342342
static int acx565akm_backlight_init(struct acx565akm_panel *lcd)
343343
{
344344
struct backlight_properties props = {
345-
.power = FB_BLANK_UNBLANK,
345+
.power = BACKLIGHT_POWER_ON,
346346
.type = BACKLIGHT_RAW,
347347
};
348348
int ret;

0 commit comments

Comments
 (0)