summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/aw87390.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>2024-06-24 15:17:27 +0200
committerMark Brown <broonie@kernel.org>2024-06-25 16:54:18 +0200
commit6f9faf1410fe151350ece4a93df30b9e06deec92 (patch)
treecc9497e3a949f74105bfc38164369416728590e7 /sound/soc/codecs/aw87390.c
parentMAINTAINERS: adjust file entries after adding vendor prefix in sound dtbs (diff)
downloadlinux-6f9faf1410fe151350ece4a93df30b9e06deec92.tar.xz
linux-6f9faf1410fe151350ece4a93df30b9e06deec92.zip
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>
Diffstat (limited to 'sound/soc/codecs/aw87390.c')
-rw-r--r--sound/soc/codecs/aw87390.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/aw87390.c b/sound/soc/codecs/aw87390.c
index 79521ff44001..110009616966 100644
--- a/sound/soc/codecs/aw87390.c
+++ b/sound/soc/codecs/aw87390.c
@@ -445,7 +445,7 @@ static int aw87390_i2c_probe(struct i2c_client *i2c)
}
static const struct i2c_device_id aw87390_i2c_id[] = {
- { AW87390_I2C_NAME, 0 },
+ { AW87390_I2C_NAME },
{ }
};
MODULE_DEVICE_TABLE(i2c, aw87390_i2c_id);