diff options
author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2024-12-04 17:08:57 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-12-14 19:00:44 +0300 |
commit | a4ea3e41befd012c967edfacacea1594b80f762e (patch) | |
tree | 0c6fb32d64674e1587c6cf4ba8547228470d512d /scripts/lib/kdoc/kdoc_files.py | |
parent | 27cad221a4dddc27b281fabcf500fd307a196bac (diff) | |
download | linux-a4ea3e41befd012c967edfacacea1594b80f762e.tar.xz |
hwmon: (isl28022) Drop explicit initialization of struct i2c_device_id::driver_data to 0
This driver doesn't use the driver_data member of struct i2c_device_id,
so don't explicitly initialize it.
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.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/20241204140857.1691402-2-u.kleine-koenig@baylibre.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions