Re: [PATCH v3 05/10] iio: accel: mma8452: Use dev_err_probe()
From: Andy Shevchenko
Date: Wed May 06 2026 - 05:22:37 EST
On Tue, May 05, 2026 at 08:45:32PM +0200, Joshua Crofts wrote:
> On Tue, 5 May 2026 at 19:49, Sanjay Chitroda <sanjayembeddedse@xxxxxxxxx> wrote:
...
> > static int mma8452_probe(struct i2c_client *client)
> > {
> > + struct device *dev = &client->dev;
>
> Stray change, I assume this belongs to patch 7 ("use local struct device") of
> your series.
Not really. It switches to dev_err_probe() that uses it.
--
With Best Regards,
Andy Shevchenko