Skip to content
Commit c48de45d authored by Rob Herring's avatar Rob Herring Committed by Vinod Koul
Browse files

dmaengine: 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.

Signed-off-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231006213835.332848-1-robh@kernel.org
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent a67ba97d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment