cpufreq: tegra20: Wrap cpufreq into platform driver
authorDmitry Osipenko <digetx@gmail.com>
Fri, 18 May 2018 20:06:42 +0000 (23:06 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 21 May 2018 11:44:24 +0000 (13:44 +0200)
commitdc628cdf5c2c28bb6e34b207cbe542bc2f4369f8
treef34f294c92c1d649d82b526770c46ef786d5aaef
parent7732c9e0db57f63a155343f4d2b679bb4cefc265
cpufreq: tegra20: Wrap cpufreq into platform driver

Currently tegra20-cpufreq kernel module isn't getting autoloaded because
there is no device associated with the module, this is one of two patches
that resolves the module autoloading. This patch adds a module alias that
will associate the tegra20-cpufreq kernel module with the platform device,
other patch will instantiate the actual platform device. And now it makes
sense to wrap cpufreq driver into a platform driver for consistency.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/tegra20-cpufreq.c