]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: qoriq: convert to a platform driver
authorMian Yousaf Kaukab <ykaukab@suse.de>
Tue, 21 Apr 2020 08:29:59 +0000 (10:29 +0200)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 7 May 2020 05:17:27 +0000 (10:47 +0530)
commit407d2e9df87cc81b626c99037305e2f97d48dc29
tree1210ce835adce04d764c3b9e6d00425fd68b563e
parent9cea64eec43ef12637c18129f614eae2e898c988
cpufreq: qoriq: convert to a platform driver

The driver has to be manually loaded if it is built as a module. It
is neither exporting MODULE_DEVICE_TABLE nor MODULE_ALIAS. Moreover,
no platform-device is created (and thus no uevent is sent) for the
clockgen nodes it depends on.

Convert the module to a platform driver with its own alias. Moreover,
drop whitelisted SOCs. Platform device will be created only for the
compatible platforms.

Reviewed-by: Yuantian Tang <andy.tang@nxp.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/qoriq-cpufreq.c