diff options
author | Thomas Zimmermann <[email protected]> | 2024-07-31 14:17:15 +0200 |
---|---|---|
committer | Thomas Zimmermann <[email protected]> | 2024-08-16 09:27:51 +0200 |
commit | b3a901841ed1edd65b2f4cb9dd890ea1e2fc7551 (patch) | |
tree | 0f545d4452c4119a4c67f2a62f682a5f7c2a70c7 | |
parent | ddda6542c85304eff31fe433cc0fc2c0d03c8f3d (diff) |
drm/panel: panel-novatak-nt35510: 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: Linus Walleij <[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]
-rw-r--r-- | drivers/gpu/drm/panel/panel-novatek-nt35510.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/panel/panel-novatek-nt35510.c b/drivers/gpu/drm/panel/panel-novatek-nt35510.c index d3bfdfc9cff6..57686340de49 100644 --- a/drivers/gpu/drm/panel/panel-novatek-nt35510.c +++ b/drivers/gpu/drm/panel/panel-novatek-nt35510.c @@ -1166,7 +1166,7 @@ static int nt35510_probe(struct mipi_dsi_device *dsi) bl->props.brightness = nt->conf->wrdisbv; else bl->props.brightness = 255; - bl->props.power = FB_BLANK_POWERDOWN; + bl->props.power = BACKLIGHT_POWER_OFF; nt->panel.backlight = bl; } |