]> www.infradead.org Git - users/dwmw2/linux.git/commit
ALSA: ppc: keywest: Drop explicit initialization of struct i2c_device_id::driver_data...
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Mon, 8 Jul 2024 13:02:53 +0000 (15:02 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 9 Jul 2024 07:16:30 +0000 (09:16 +0200)
commitd2eb433c8546363134cabca7a85c73086700aeec
treeb4ab49f256a1627c5290dc476165105574c8f087
parentfefbbdfb59d3a20fd98734363e6dd9fa7cc65c70
ALSA: ppc: keywest: Drop explicit initialization of struct i2c_device_id::driver_data to 0

The 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.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://patch.msgid.link/20240708130254.9631-2-u.kleine-koenig@baylibre.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/ppc/keywest.c