Re: [PATCH v4 2/8] iio: light: opt3001: use local struct device and i2c_client variables
From: Andy Shevchenko
Date: Tue Jun 02 2026 - 06:49:12 EST
On Mon, May 25, 2026 at 10:20:16AM +0200, Joshua Crofts via B4 Relay wrote:
>
> Switch the driver to use local variables for struct device and struct
> i2c_client and remove struct device member from struct opt3001, as the
> former can be derived from struct client.
>
> While at it, ensure that parentheses alignment is correct in functions
> that were changed in this patch.
>
> No functional change.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
--
With Best Regards,
Andy Shevchenko