diff options
author | 2024-10-29 09:23:55 +0000 | |
---|---|---|
committer | 2024-10-29 12:37:12 +0000 | |
commit | 0d4f74febc9d92d88099aff01f121b7f5f942c8f (patch) | |
tree | 80fc319fb4b7ce31738e1c5fc3208db1b366a22f | |
parent | ASoC: Intel: add rt722 and rt1320 support (diff) | |
download | wireguard-linux-0d4f74febc9d92d88099aff01f121b7f5f942c8f.tar.xz wireguard-linux-0d4f74febc9d92d88099aff01f121b7f5f942c8f.zip |
ASoC: cs42l84: remove incorrect of_match_ptr()
The use of of_match_ptr() is incorrect here and just causes
a warning:
sound/soc/codecs/cs42l84.c:1084:34: error: unused variable 'cs42l84_of_match' [-Werror,-Wunused-const-variable]
Fixes: 250304a0fb34 ("ASoC: cs42l84: Add new codec driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20241029092404.3874040-1-arnd@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | sound/soc/codecs/cs42l84.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs42l84.c b/sound/soc/codecs/cs42l84.c index 47731cdc0e67..d176add8c4a6 100644 --- a/sound/soc/codecs/cs42l84.c +++ b/sound/soc/codecs/cs42l84.c @@ -1096,7 +1096,7 @@ MODULE_DEVICE_TABLE(i2c, cs42l84_id); static struct i2c_driver cs42l84_i2c_driver = { .driver = { .name = "cs42l84", - .of_match_table = of_match_ptr(cs42l84_of_match), + .of_match_table = cs42l84_of_match, }, .id_table = cs42l84_id, .probe = cs42l84_i2c_probe, |