From: Thomas Zimmermann Date: Mon, 24 Jun 2024 15:20:03 +0000 (+0200) Subject: backlight: kb3886-bl: Use backlight power constants X-Git-Tag: v6.11-rc1~146^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cebc25971f7f988dfd4d6c7269deea4c1ca5898e;p=thirdparty%2Flinux.git backlight: kb3886-bl: 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. Signed-off-by: Thomas Zimmermann Reviewed-by: Daniel Thompson Link: https://lore.kernel.org/r/20240624152033.25016-9-tzimmermann@suse.de Signed-off-by: Lee Jones --- diff --git a/drivers/video/backlight/kb3886_bl.c b/drivers/video/backlight/kb3886_bl.c index 55794b239cff0..050b5c21f4a8c 100644 --- a/drivers/video/backlight/kb3886_bl.c +++ b/drivers/video/backlight/kb3886_bl.c @@ -10,9 +10,9 @@ #include #include #include +#include #include #include -#include #include #include #include @@ -151,7 +151,7 @@ static int kb3886bl_probe(struct platform_device *pdev) platform_set_drvdata(pdev, kb3886_backlight_device); - kb3886_backlight_device->props.power = FB_BLANK_UNBLANK; + kb3886_backlight_device->props.power = BACKLIGHT_POWER_ON; kb3886_backlight_device->props.brightness = machinfo->default_intensity; backlight_update_status(kb3886_backlight_device);