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

Andy Shevchenko andriy.shevchenko at intel.com
Mon Aug 10 01:26:38 PDT 2026


On Thu, Aug 06, 2026 at 08:09:01AM +0530, mdshahid03 at gmail.com 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 at intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko at intel.com>

-- 
With Best Regards,
Andy Shevchenko





More information about the linux-arm-kernel mailing list