cpufreq: qcom-hw: Move to device_initcall
authorAmit Kucheria <amit.kucheria@linaro.org>
Thu, 10 Jan 2019 00:00:53 +0000 (05:30 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 8 Feb 2019 04:06:25 +0000 (09:36 +0530)
commitf896d06665ec8ae09f6412a47b97863d9ef8ff64
tree67e7d8b58b99b2dd1f03562e4e00d5b69e3a7af6
parent1c7fc5cbc33980acd13d668f1c8f0313d6ae9fd8
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>
drivers/cpufreq/qcom-cpufreq-hw.c