Re: [PATCH v3 07/10] iio: accel: mma8452: use local struct device

From: Joshua Crofts

Date: Wed May 06 2026 - 05:20:00 EST


On Tue, 5 May 2026 at 19:50, Sanjay Chitroda <sanjayembeddedse@xxxxxxxxx> wrote:
> @@ -1552,7 +1552,7 @@ static int mma8452_probe(struct i2c_client *client)
> struct iio_dev *indio_dev;
> int ret;

As mentioned, you added the local struct device in patch 5, making
this really confusing (and potentially breaking if only a partial set
of the patches would be picked up). Please add it here.

--
Kind regards

CJD