Unverified Commit a8b4962f authored by Rob Herring's avatar Rob Herring Committed by Mark Brown
Browse files

regulator: 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/20231017203507.2699826-1-robh@kernel.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1096f9fa
Supports Markdown
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