summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/qcom-cpufreq-hw.c
diff options
context:
space:
mode:
authorAmit Kucheria <amit.kucheria@linaro.org>2019-01-10 01:00:53 +0100
committerViresh Kumar <viresh.kumar@linaro.org>2019-02-08 05:06:25 +0100
commitf896d06665ec8ae09f6412a47b97863d9ef8ff64 (patch)
tree67e7d8b58b99b2dd1f03562e4e00d5b69e3a7af6 /drivers/cpufreq/qcom-cpufreq-hw.c
parentLinux 5.0-rc2 (diff)
downloadlinux-f896d06665ec8ae09f6412a47b97863d9ef8ff64.tar.xz
linux-f896d06665ec8ae09f6412a47b97863d9ef8ff64.zip
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: Amit Kucheria <amit.kucheria@linaro.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/qcom-cpufreq-hw.c')
-rw-r--r--drivers/cpufreq/qcom-cpufreq-hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/qcom-cpufreq-hw.c b/drivers/cpufreq/qcom-cpufreq-hw.c
index d83939a1b3d4..649dddd72749 100644
--- a/drivers/cpufreq/qcom-cpufreq-hw.c
+++ b/drivers/cpufreq/qcom-cpufreq-hw.c
@@ -296,7 +296,7 @@ static int __init qcom_cpufreq_hw_init(void)
{
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)
{