linux/drivers/iio/imu/bno055
Uwe Kleine-König 4391affa10 iio: Drop explicit initialization of struct i2c_device_id::driver_data to 0
These drivers don't use the driver_data member of struct i2c_device_id,
so don't explicitly initialize this member.

This prepares putting driver_data in an anonymous union which requires
either no initialization or named designators. But it's also a nice
cleanup on its own.

While add it, also remove commas after the sentinel entries.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20240508072928.2135858-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-05-27 09:48:57 +01:00
..
bno055_i2c.c iio: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-27 09:48:57 +01:00
bno055_ser_core.c treewide, serdev: change receive_buf() return type to size_t 2024-01-27 18:13:53 -08:00
bno055_ser_trace.c iio: imu: fix spdx format 2023-01-28 16:22:46 +00:00
bno055_ser_trace.h iio: imu: add BNO055 serdev driver 2022-09-21 18:42:56 +01:00
bno055.c iio: imu: bno055: uninitialized variable bug in bno055_trigger_handler() 2022-11-01 08:48:13 +00:00
bno055.h
Kconfig iio: imu: bno055: serdev requires REGMAP 2024-01-22 18:59:07 +00:00
Makefile iio: imu: add BNO055 I2C driver 2022-09-21 18:42:56 +01:00