summaryrefslogtreecommitdiff
path: root/Documentation/hwmon
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2024-05-08 10:20:26 +0300
committerGuenter Roeck <linux@roeck-us.net>2024-05-09 22:56:06 +0300
commit2fa365974c3eb97f29ff2dbeff3e9011170e492c (patch)
tree9cf67cbc974f9944d8f0dae4159ebfb3103154e4 /Documentation/hwmon
parent6a8157812f5b486d1fdabeefa070d75ae49220ee (diff)
downloadlinux-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