Commit f896d066 authored by Amit Kucheria's avatar Amit Kucheria Committed by Viresh Kumar

cpufreq: qcom-hw: Move to device_initcall

subsys_initcall causes problems registering the driver as a thermal
cooling device.

If "faster boot" is the main reason for doing subsys_initcall, this
should be handled in the bootloader or another boot constraint
framework.
Signed-off-by: default avatarAmit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 1c7fc5cb
...@@ -296,7 +296,7 @@ static int __init qcom_cpufreq_hw_init(void) ...@@ -296,7 +296,7 @@ static int __init qcom_cpufreq_hw_init(void)
{ {
return platform_driver_register(&qcom_cpufreq_hw_driver); return platform_driver_register(&qcom_cpufreq_hw_driver);
} }
subsys_initcall(qcom_cpufreq_hw_init); device_initcall(qcom_cpufreq_hw_init);
static void __exit qcom_cpufreq_hw_exit(void) static void __exit qcom_cpufreq_hw_exit(void)
{ {
......
Markdown is supported
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