Re: [PATCH] drm: Drop explicit initialization of struct i2c_device_id::driver_data to 0

2024-09-06 Thread Uwe Kleine-König
hello, On Thu, May 16, 2024 at 02:38:38PM +0200, Uwe Kleine-König wrote: > 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

[PATCH] drm: Drop explicit initialization of struct i2c_device_id::driver_data to 0

2024-05-16 Thread Uwe Kleine-König
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 rem