ASoC: Drop unnecessary of_match_device() calls
authorRob Herring <robh@kernel.org>
Fri, 6 Oct 2023 20:09:11 +0000 (15:09 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 9 Oct 2023 12:13:57 +0000 (13:13 +0100)
commit56c075b2d31c626370481a62d334a0575f751522
treec60a9579ee531a28481630daaeacd464e8073644
parent340d79a14d6ab5066ba40651764db20bd151aea7
ASoC: Drop unnecessary of_match_device() calls

If probe is reached, we've already matched the device and in the case of
DT matching, the struct device_node pointer will be set. Therefore, there
is no need to call of_match_device() in probe.

Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231006-dt-asoc-header-cleanups-v3-2-13a4f0f7fee6@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ak5386.c
sound/soc/codecs/cs4271.c
sound/soc/codecs/tas5086.c