]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: phy: isp1301:: Drop explicit initialization of struct i2c_device_id::driver_data...
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Fri, 20 Sep 2024 15:34:35 +0000 (17:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 13:12:40 +0000 (15:12 +0200)
commitf3c9fc2b3e541c4aa83775afc10b36a7472f7b14
tree5c7f74d4706b479d620cbdf504c471a1d9170ff3
parent570542810fe539af57a5b9169d79c8b31e83d9d0
usb: phy: isp1301:: Drop explicit initialization of struct i2c_device_id::driver_data to 0

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 <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/20240920153430.503212-17-u.kleine-koenig@baylibre.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/phy/phy-isp1301.c