[PATCH] macintosh: Drop explicit initialization of struct i2c_device_id::driver_data to 0
Michael Ellerman
patch-notifications at ellerman.id.au
Sun Jul 7 09:10:04 AEST 2024
On Mon, 24 Jun 2024 15:24:33 +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 to powerpc/next.
[1/1] macintosh: Drop explicit initialization of struct i2c_device_id::driver_data to 0
https://git.kernel.org/powerpc/c/38767dde5f7b691026a8481904a0ae1c9d74e647
cheers
More information about the Linuxppc-dev
mailing list