Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-6
-6
drivers/cpufreq/cpufreq-nforce2.c
··· 359 359 return 0; 360 360 } 361 361 362 - static int nforce2_cpu_exit(struct cpufreq_policy *policy) 363 - { 364 - return 0; 365 - } 366 - 367 362 static struct cpufreq_driver nforce2_driver = { 368 363 .name = "nforce2", 369 364 .flags = CPUFREQ_NO_AUTO_DYNAMIC_SWITCHING, ··· 366 371 .target = nforce2_target, 367 372 .get = nforce2_get, 368 373 .init = nforce2_cpu_init, 369 - .exit = nforce2_cpu_exit, 370 374 }; 371 375 372 376 #ifdef MODULE