Thread (4 messages) flat view 4 messages, 3 authors, 2024-08-12

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

From: Michael Ellerman <hidden>
Date: 2024-08-12 12:23:25

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help