diff options
| author | Uwe Kleine-König <[email protected]> | 2024-06-25 08:38:53 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-06-26 14:28:08 +0000 |
| commit | a6a6a98094116b60e5523a571d9443c53325f5b1 (patch) | |
| tree | 56896e4053a3ece246ee0d715c8a247cc7e3ac0a /tools/testing/selftests/net/lib/py/utils.py | |
| parent | Merge branch 'add-ethernet-driver-for-tehuti-networks-tn40xx-chips' (diff) | |
| download | kernel-a6a6a98094116b60e5523a571d9443c53325f5b1.tar.gz kernel-a6a6a98094116b60e5523a571d9443c53325f5b1.zip | |
net: 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 <[email protected]>
Reviewed-by: Petr Machata <[email protected]> # For mlxsw
Reviewed-by: Kory Maincent <[email protected]>
Reviewed-by: Jeremy Kerr <[email protected]> # for mctp-i2c
Reviewed-by: Oleksij Rempel <[email protected]>
Acked-by: Oleksij Rempel <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions
