]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5e420625584f60797cd3dff0f5ffc5e49140cd18
treef34f294c92c1d649d82b526770c46ef786d5aaef
parent93e8f6c85498721117494a64ea6d7c3532bba60e
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