Thread (2 messages) 2 messages, 2 authors, 2024-09-22

Re: [PATCH] Input: hynitron_cstxxx - Drop explicit initialization of struct i2c_device_id::driver_data to 0

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2024-09-22 09:47:37

On Fri, Sep 20, 2024 at 05:34:30PM +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.

Signed-off-by: Uwe Kleine-König <redacted>
Applied, thank you.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help