summaryrefslogtreecommitdiff
path: root/kernel/sched
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-02-28 20:47:57 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-02-28 20:47:57 +0100
commit075c3c483c86aaeadbfdb56ff0ffa67abe582eca (patch)
treee2e1500d3247ac20b61b9b9ab996e114c496698d /kernel/sched
parentc5eb92f57de2446e0071c3af70ea54f237eb05d5 (diff)
parent7ddf5e37631ac7a96920f0f8aa3c8c4c289aaa25 (diff)
Merge back cpufreq changes for v5.18.
Diffstat (limited to 'kernel/sched')
-rw-r--r--kernel/sched/cpufreq_schedutil.c2
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));
}