diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-02-28 20:47:57 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-02-28 20:47:57 +0100 |
commit | 075c3c483c86aaeadbfdb56ff0ffa67abe582eca (patch) | |
tree | e2e1500d3247ac20b61b9b9ab996e114c496698d /kernel/sched | |
parent | c5eb92f57de2446e0071c3af70ea54f237eb05d5 (diff) | |
parent | 7ddf5e37631ac7a96920f0f8aa3c8c4c289aaa25 (diff) |
Merge back cpufreq changes for v5.18.
Diffstat (limited to 'kernel/sched')
-rw-r--r-- | kernel/sched/cpufreq_schedutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedutil.c index 26778884d9ab..cffcd08f4ec8 100644 --- a/kernel/sched/cpufreq_schedutil.c +++ b/kernel/sched/cpufreq_schedutil.c @@ -539,7 +539,7 @@ ATTRIBUTE_GROUPS(sugov); static void sugov_tunables_free(struct kobject *kobj) { - struct gov_attr_set *attr_set = container_of(kobj, struct gov_attr_set, kobj); + struct gov_attr_set *attr_set = to_gov_attr_set(kobj); kfree(to_sugov_tunables(attr_set)); } |