Re: [PATCH v2 04/10] iio: light: opt3001: use local struct device and i2c_client variables
From: Jonathan Cameron
Date: Sat May 16 2026 - 08:02:40 EST
On Tue, 12 May 2026 12:57:24 +0200
Joshua Crofts via B4 Relay <devnull+joshua.crofts1.gmail.com@xxxxxxxxxx> wrote:
> From: Joshua Crofts <joshua.crofts1@xxxxxxxxx>
>
> Switch the driver to use local variables for struct device and struct
> i2c_client to improve code style.
>
> While at it, ensure that parentheses alignment is correct in functions
> that were changed in this patch.
>
> No functional change.
>
> Suggested-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> Signed-off-by: Joshua Crofts <joshua.crofts1@xxxxxxxxx>
Here onwards will be affected by me not picking up patch 1 so I'll leave them for now.
I don't have anything to add on this one.
J