diff options
| author | Uwe Kleine-König <[email protected]> | 2024-09-20 15:14:44 +0000 |
|---|---|---|
| committer | Tzung-Bi Shih <[email protected]> | 2024-09-30 01:34:01 +0000 |
| commit | 7cbf28998d737e04c4872cfeedd1a546d22cfb44 (patch) | |
| tree | a32eb7ee34992a028784256925e3bdf70a5994b2 /drivers/platform/x86/intel/pmt/class.c | |
| parent | Linux 6.12-rc1 (diff) | |
| download | kernel-7cbf28998d737e04c4872cfeedd1a546d22cfb44.tar.gz kernel-7cbf28998d737e04c4872cfeedd1a546d22cfb44.zip | |
platform/chrome: 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.
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Tzung-Bi Shih <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
