(subset) [PATCH] backlight: Drop explicit initialization of struct i2c_device_id::driver_data to 0
Lee Jones
lee at kernel.org
Thu Jun 20 17:36:45 UTC 2024
On Wed, 19 Jun 2024 21:35:57 +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 named designators. But it's also a nice
> cleanup on its own.
>
> [...]
Applied, thanks!
[1/1] backlight: Drop explicit initialization of struct i2c_device_id::driver_data to 0
commit: bfd3587760498227510acc1b18c4299c7922ffe3
--
Lee Jones [李琼斯]
More information about the dri-devel
mailing list