cpufreq: Drop the owner field from struct cpufreq_driver
We don't need to set .owner = THIS_MODULE any more in cpufreq drivers as this field isn't used any more by the cpufreq core. This patch removes it and updates all dependent drivers accordingly. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:

committed by
Rafael J. Wysocki

parent
6eed9404ab
commit
adc97d6a73
@@ -665,7 +665,6 @@ static struct cpufreq_driver intel_pstate_driver = {
|
||||
.init = intel_pstate_cpu_init,
|
||||
.exit = intel_pstate_cpu_exit,
|
||||
.name = "intel_pstate",
|
||||
.owner = THIS_MODULE,
|
||||
};
|
||||
|
||||
static int __initdata no_load;
|
||||
|
Reference in New Issue
Block a user