cpufreq: ti-cpufreq: Convert to module_platform_driver
authorDave Gerlach <d-gerlach@ti.com>
Fri, 15 Dec 2017 04:25:25 +0000 (22:25 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 17 Dec 2017 18:17:43 +0000 (19:17 +0100)
commitdb410b2b3839e962f9df4bc87b4fea9a2996047c
tree9971c267e0085a156ae3eb2c760bed8b2e8ab818
parent92ce45fb875d7c3e021cc454482fe0687ff54f29
cpufreq: ti-cpufreq: Convert to module_platform_driver

ti-cpufreq will be responsible for calling dev_pm_opp_set_regulators on
platforms that require AVS and ABB regulator support so we must be
able to defer probe if regulators are not yet available, so change
ti-cpufreq to be a module_platform_driver to allow for probe defer.

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/ti-cpufreq.c