cpufreq: qcom-hw: Register child devices

Register child devices once a successful probe is done. This
will enable the dependent child devices to be probed immediately after
the cpufreq probe is done.

Change-Id: I9108636e1e6ad03bb6f5add9da9ba5507248c129
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
This commit is contained in:
Ram Chandrasekar 2019-02-26 12:34:33 -07:00 • committed by Taniya Das
commit 74e7ed3831

View file

@ -410,6 +410,7 @@ static int qcom_cpufreq_hw_driver_probe(struct platform_device *pdev)
}
dev_dbg(&pdev->dev, "QCOM CPUFreq HW driver initialized\n");
of_platform_populate(pdev->dev.of_node, NULL, NULL, &pdev->dev);
return 0;
}