diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2024-07-04 08:53:52 +0200 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2024-07-05 08:11:30 +0200 |
commit | bf8a44c07ba61c408e42e5075380de9ddcdc8cb3 (patch) | |
tree | 4247b483359a99735808635c4485870b9745f1dc /drivers/cpufreq | |
parent | cpufreq: sti: add missing MODULE_DEVICE_TABLE entry for stih418 (diff) | |
download | linux-bf8a44c07ba61c408e42e5075380de9ddcdc8cb3.tar.xz linux-bf8a44c07ba61c408e42e5075380de9ddcdc8cb3.zip |
cpufreq: nforce2: Remove empty exit() callback
The exit() callback is optional, remove the empty one.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/cpufreq-nforce2.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/cpufreq/cpufreq-nforce2.c b/drivers/cpufreq/cpufreq-nforce2.c index f7a7bcf6f52e..fedad1081973 100644 --- a/drivers/cpufreq/cpufreq-nforce2.c +++ b/drivers/cpufreq/cpufreq-nforce2.c @@ -359,11 +359,6 @@ static int nforce2_cpu_init(struct cpufreq_policy *policy) return 0; } -static int nforce2_cpu_exit(struct cpufreq_policy *policy) -{ - return 0; -} - static struct cpufreq_driver nforce2_driver = { .name = "nforce2", .flags = CPUFREQ_NO_AUTO_DYNAMIC_SWITCHING, @@ -371,7 +366,6 @@ static struct cpufreq_driver nforce2_driver = { .target = nforce2_target, .get = nforce2_get, .init = nforce2_cpu_init, - .exit = nforce2_cpu_exit, }; #ifdef MODULE |