Skip to content
Unverified Commit 56c075b2 authored by Rob Herring's avatar Rob Herring Committed by Mark Brown
Browse files

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: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231006-dt-asoc-header-cleanups-v3-2-13a4f0f7fee6@kernel.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 340d79a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment