diff options
author | Rob Herring <robh@kernel.org> | 2023-10-06 15:09:11 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-10-09 13:13:57 +0100 |
commit | 56c075b2d31c626370481a62d334a0575f751522 (patch) | |
tree | c60a9579ee531a28481630daaeacd464e8073644 /sound/soc/codecs/max98088.h | |
parent | 340d79a14d6ab5066ba40651764db20bd151aea7 (diff) |
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>
Diffstat (limited to 'sound/soc/codecs/max98088.h')
0 files changed, 0 insertions, 0 deletions