aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2024-06-25 08:31:31 +0000
committerWolfram Sang <[email protected]>2024-06-26 10:45:25 +0000
commitd08ed10623b3cba46102cd3d569a7517cbf48e40 (patch)
tree946a4d3a4af80510438514bfe2bd217c80fd244f /rust/helpers.c
parentDocumentation: i2c: testunit: use proper reST (diff)
downloadkernel-d08ed10623b3cba46102cd3d569a7517cbf48e40.tar.gz
kernel-d08ed10623b3cba46102cd3d569a7517cbf48e40.zip
i2c: 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 a comma after the sentinel entry. Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions