diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2024-05-08 10:20:26 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-05-09 22:56:06 +0300 |
commit | 2fa365974c3eb97f29ff2dbeff3e9011170e492c (patch) | |
tree | 9cf67cbc974f9944d8f0dae4159ebfb3103154e4 /Documentation/hwmon | |
parent | 6a8157812f5b486d1fdabeefa070d75ae49220ee (diff) | |
download | linux-2fa365974c3eb97f29ff2dbeff3e9011170e492c.tar.xz |
hwmon: Drop explicit initialization of struct i2c_device_id::driver_data to 0 (part 2)
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.
This is a follow up to commit d8a66f3621c2 ("hwmon: Drop explicit
initialization of struct i2c_device_id::driver_data to 0") which I
created before identifying a few corner cases in my conversion script.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20240508072027.2119857-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
0 files changed, 0 insertions, 0 deletions