[PATCH v3 3/3] backlight: mp3309c: Utilise temporary variable for struct device

2024-02-08 Thread Andy Shevchenko
We have a temporary variable to keep pointer to struct device. Utilise it where it makes sense. Reviewed-by: Daniel Thompson Tested-by: Flavio Suligoi Signed-off-by: Andy Shevchenko --- drivers/video/backlight/mp3309c.c | 30 -- 1 file changed, 12 insertions(+), 18

[PATCH v3 3/3] backlight: mp3309c: Utilise temporary variable for struct device

2024-02-08 Thread Andy Shevchenko
We have a temporary variable to keep pointer to struct device. Utilise it where it makes sense. Reviewed-by: Daniel Thompson Tested-by: Flavio Suligoi Signed-off-by: Andy Shevchenko --- drivers/video/backlight/mp3309c.c | 30 -- 1 file changed, 12 insertions(+), 18