[PATCH v1 1/2] backlight: mp3309c: Make use of device properties

Flavio Suligoi f.suligoi at asem.it
Fri Dec 15 14:13:00 UTC 2023


> Subject: [PATCH v1 1/2] backlight: mp3309c: Make use of device
> properties
> 
> Convert the module to be property provider agnostic and allow
> it to be used on non-OF platforms.
> 
> Add mod_devicetable.h include.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> ---
>  drivers/video/backlight/mp3309c.c | 38 ++++++++++++-------------------
>  1 file changed, 15 insertions(+), 23 deletions(-)

Hi Andy,

I tested the patch in both pwm and analog-ic dimming-mode and everything is ok.
Thanks for the optimizations!

Tested-by: Flavio Suligoi <f.suligoi at asem.it>



More information about the dri-devel mailing list