Re: [PATCH v1 09/13] iio: accel: bmc150: Explicitly set spi .driver_data

From: Jonathan Cameron

Date: Wed Jun 24 2026 - 13:50:42 EST


On Fri, 19 Jun 2026 17:54:37 +0200
Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx> wrote:

> There is one id entry that has an explicit assignment to .driver_data.
> To make the intention clearer, assign BOSCH_UNKNOWN (which is also 0)
> for all previously ids that had .driver_data = 0 implicitly before.
>
> While touching all entries in this array, convert to named initializers.
>
> This change is similar to commit e50856dc41e8 ("iio: accel: bmc150:
> Explicitly set .driver_data") but cares for the driver's spi part
> instead of i2c.
>
> Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
Applied.