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

From
Michael Ellerman <hidden>
Date
2024-07-06 23:17:33
Reply to
Uwe Kleine-König, 2024-06-27
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
Thread (2 messages) 2 messages, 2 authors, last reply 2024-07-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help