phy: qcom-qmp-pcie: clean up device-tree parsing
authorJohan Hovold <johan+linaro@kernel.org>
Sat, 5 Nov 2022 14:59:27 +0000 (15:59 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 10 Nov 2022 07:04:53 +0000 (12:34 +0530)
commit393ed5d515494250712dd1703418bb541765afe3
tree51e56d715f0f3b4352b499e40e79c5fb4bf379e3
parent2fdedef3ea8e8a1a68a1da6eee1537074b308f63
phy: qcom-qmp-pcie: clean up device-tree parsing

Since the QMP driver split there will be at most a single child node so
drop the obsolete iteration construct.

While at it, drop the verbose error logging that would have been
printed also on probe deferrals.

Note that there's no need to check if there are additional child nodes
(the kernel is not a devicetree validator), but let's return an error if
there are no child nodes at all for now.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20221105145939.20318-5-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c