[PATCH v1 2/2] backlight: mp3309c: Utilise temporary variable for struct device

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


> Subject: [PATCH v1 2/2] backlight: mp3309c: Utilise temporary variable
> for struct device
> 
> We have a temporary variable to keep pointer to struct device.
> Utilise it where it makes sense.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> ---
>  drivers/video/backlight/mp3309c.c | 38 +++++++++++++------------------
>  1 file changed, 16 insertions(+), 22 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