[PATCH] powerpc/476: Drop explicit initialization of struct i2c_device_id::driver_data to 0

Michael Ellerman patch-notifications at ellerman.id.au
Mon Aug 12 22:01:05 AEST 2024


On Sun, 04 Aug 2024 13:20:31 +0200, Uwe Kleine-König wrote:
> This driver doesn'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] powerpc/476: Drop explicit initialization of struct i2c_device_id::driver_data to 0
      https://git.kernel.org/powerpc/c/c4afe3eb04a5fc095a9e3b1b25691f9ed31a52d3

cheers


More information about the Linuxppc-dev mailing list