Showing the changes to kernel (1 of 4 files). Show all
Unified · Split
| @@ -539,7 +539,7 @@ ATTRIBUTE_GROUPS(sugov); · 538 unmodified lines | ||
| 539 | 539 | |
| 540 | 540 | static void sugov_tunables_free(struct kobject *kobj) |
| 541 | 541 | { |
| 542 | − struct gov_attr_set *attr_set = container_of(kobj, struct gov_attr_set, kobj); | |
| 542 | + struct gov_attr_set *attr_set = to_gov_attr_set(kobj); | |
| 543 | 543 | |
| 544 | 544 | kfree(to_sugov_tunables(attr_set)); |
| 545 | 545 | } |