From 149ab8649667eb50863495d841a7ba1110fc17d3 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Mon, 13 Feb 2017 19:45:02 -0500 Subject: cpufreq: make ti-cpufreq explicitly non-modular The Kconfig currently controlling compilation of this code is: drivers/cpufreq/Kconfig.arm:config ARM_TI_CPUFREQ drivers/cpufreq/Kconfig.arm: bool "Texas Instruments CPUFreq support" ...meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of modular infrastructure use, so that when reading the driver there is no doubt it is builtin-only. Since module_init translates to device_initcall in the non-modular case, the init ordering remains unchanged with this commit. We also delete the MODULE_LICENSE tag etc. since all that information is already contained at the top of the file in the comments. Signed-off-by: Paul Gortmaker Acked-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- drivers/cpufreq/ti-cpufreq.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'drivers/cpufreq') diff --git a/drivers/cpufreq/ti-cpufreq.c b/drivers/cpufreq/ti-cpufreq.c index 7ff7ae3c3911..a7b5658c0460 100644 --- a/drivers/cpufreq/ti-cpufreq.c +++ b/drivers/cpufreq/ti-cpufreq.c @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include #include #include @@ -265,8 +265,4 @@ fail_put_node: return ret; } -module_init(ti_cpufreq_init); - -MODULE_DESCRIPTION("TI CPUFreq/OPP hw-supported driver"); -MODULE_AUTHOR("Dave Gerlach "); -MODULE_LICENSE("GPL v2"); +device_initcall(ti_cpufreq_init); -- cgit v1.2.3-59-g8ed1b