Re: [PATCH v6 2/3] iio: adc: bcm_iproc_adc: Introduce local device pointer

From: Andy Shevchenko

Date: Mon Aug 10 2026 - 04:27:09 EST


On Thu, Aug 06, 2026 at 08:09:01AM +0530, mdshahid03@xxxxxxxxx wrote:

> Introduce a local 'struct device *dev' variable in iproc_adc_probe()
> and use it for device-managed helper calls instead of repeatedly
> referencing '&pdev->dev'.
>
> No functional change intended.

Suggested-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>

--
With Best Regards,
Andy Shevchenko