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

From: Flavio Suligoi
Date: Fri Dec 15 2023 - 09:14:13 EST


> 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@xxxxxxxxxxxxxxx>
> ---
> 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@xxxxxxx>