diff options
| author | Uwe Kleine-König <[email protected]> | 2024-07-08 15:09:12 +0000 |
|---|---|---|
| committer | Corey Minyard <[email protected]> | 2024-07-08 20:05:18 +0000 |
| commit | 19a01155ddfe525e3a4e7cef734f18cce640b1ef (patch) | |
| tree | b03d1c3d0afb98280f314ac3d64880e873903377 /scripts/generate_rust_target.rs | |
| parent | ipmi: ssif_bmc: prevent integer overflow on 32bit systems (diff) | |
| download | kernel-19a01155ddfe525e3a4e7cef734f18cce640b1ef.tar.gz kernel-19a01155ddfe525e3a4e7cef734f18cce640b1ef.zip | |
ipmi: 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 at it, also remove commas after the sentinel entries.
Signed-off-by: Uwe Kleine-König <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Corey Minyard <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
