diff options
author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2024-06-19 22:35:57 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-06-20 20:36:25 +0300 |
commit | bfd3587760498227510acc1b18c4299c7922ffe3 (patch) | |
tree | e815a01cf398af5f19a93f838d7bbaaf14c64204 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7857f5c38d04a38e7a20060a6d370caf0424aa4e (diff) | |
download | linux-bfd3587760498227510acc1b18c4299c7922ffe3.tar.xz |
backlight: 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@baylibre.com>
Link: https://lore.kernel.org/r/20240619193558.2543645-2-u.kleine-koenig@baylibre.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions