]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: cs42l84: remove incorrect of_match_ptr()
authorArnd Bergmann <arnd@arndb.de>
Tue, 29 Oct 2024 09:23:55 +0000 (09:23 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 29 Oct 2024 12:37:12 +0000 (12:37 +0000)
commit0d4f74febc9d92d88099aff01f121b7f5f942c8f
tree80fc319fb4b7ce31738e1c5fc3208db1b366a22f
parentd3119688903fc9cad848946dbd2291a5ca8016a4
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>
sound/soc/codecs/cs42l84.c