]> www.infradead.org Git - users/dwmw2/linux.git/commit
ASoC: codecs: Drop explicit initialization of struct i2c_device_id::driver_data to 0
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Mon, 24 Jun 2024 13:17:27 +0000 (15:17 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 25 Jun 2024 14:54:18 +0000 (15:54 +0100)
commit6f9faf1410fe151350ece4a93df30b9e06deec92
treecc9497e3a949f74105bfc38164369416728590e7
parent15c99e7fa9e2bb536e813478250d2a609863dcfb
ASoC: codecs: 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/20240624131728.1244053-2-u.kleine-koenig@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/aw87390.c
sound/soc/codecs/aw88261.c
sound/soc/codecs/aw88395/aw88395.c
sound/soc/codecs/aw88399.c
sound/soc/codecs/es8311.c
sound/soc/codecs/rt1318.c