ALSA: Drop explicit initialization of struct i2c_device_id::driver_data to 0
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Fri, 20 Sep 2024 15:10:08 +0000 (17:10 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 20 Sep 2024 15:44:52 +0000 (17:44 +0200)
commitbf36793fa260cb68cc817f311f1f683788261796
tree27cd289c8428a6073c9553a20fdee6c90fbdecea
parent49f5ee951f11f4d6a124f00f71b2590507811a55
ALSA: 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://patch.msgid.link/20240920151009.499188-2-u.kleine-koenig@baylibre.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/aoa/codecs/onyx.c
sound/aoa/codecs/tas.c
sound/pci/hda/cs35l41_hda_i2c.c
sound/pci/hda/tas2781_hda_i2c.c