Re: [PATCH v9 07/10] iio: accel: mma8452: Add comment block for struct mma8452_data
From: Jonathan Cameron
Date: Sun Sep 20 2026 - 20:56:38 EST
> The struct mma8452_data is central for this driver, and it makes sense to
> have a description of the fields in it to make it easier to work with the
> driver.
>
> Reviewed-by: Joshua Crofts <joshua.crofts1@xxxxxxxxx>
> Signed-off-by: Esben Haabendal <esben@xxxxxxxxxx>
>
> diff --git a/drivers/iio/accel/mma8452.c b/drivers/iio/accel/mma8452.c
> index b70bc8638128..223bef4f7baf 100644
> --- a/drivers/iio/accel/mma8452.c
> +++ b/drivers/iio/accel/mma8452.c
> @@ -104,6 +104,21 @@
>
> #define MMA8452_AUTO_SUSPEND_DELAY_MS 2000
>
> +/**
> + * struct mma8452_data - IIO device private data structure
> + * @client: the I2C client object
> + * @lock: mutex for synchronziation of register
>From sashiko.
[Severity: Low]
This isn't a bug, but there's a typo here (synchronziation).
-
If nothing else shows up I'll fix it up whilst applying.
--
Jonathan Cameron <jonathan.cameron@xxxxxxxxxxxxxxxx>