[PATCH 6/6] backlight: Remove fb_blank from struct backlight_properties
FLAVIO SULIGOI
f.suligoi at asem.it
Thu Mar 14 12:48:04 UTC 2024
Hi Thomas,
...
> drivers/video/backlight/mp3309c.c | 1 -
...
> diff --git a/drivers/video/backlight/mp3309c.c
> b/drivers/video/backlight/mp3309c.c
> index 34d71259fac1d..059f4ddbbc842 100644
> --- a/drivers/video/backlight/mp3309c.c
> +++ b/drivers/video/backlight/mp3309c.c
> @@ -378,7 +378,6 @@ static int mp3309c_probe(struct i2c_client *client)
> props.scale = BACKLIGHT_SCALE_LINEAR;
> props.type = BACKLIGHT_RAW;
> props.power = FB_BLANK_UNBLANK;
> - props.fb_blank = FB_BLANK_UNBLANK;
> chip->bl = devm_backlight_device_register(chip->dev, "mp3309c",
> chip->dev, chip,
> &mp3309c_bl_ops, &props);
...
I've just tested your change with my board with the mp3309c backlight and all is ok.
Thanks and best regards
Flavio
Tested-by: Flavio Suligoi <f.suligoi at asem.it>
More information about the dri-devel
mailing list