Skip to content
Commit 9f58744c authored by Rob Herring's avatar Rob Herring Committed by Lee Jones
Browse files

mfd: motorola-cpcap: Drop unnecessary of_match_device() call



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/20231017203537.2700340-1-robh@kernel.org


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 831d1af8
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