History

Merge back cpufreq changes for v5.18.

Rafael J. Wysocki committed 4 years ago

Commit 075c3c42 parents c5eb92f 7ddf5e34 files · +8 −8Browse files

Showing the changes to include (1 of 4 files). Show all

Unified · Split

include/linux/cpufreq.h+5−0
@@ -661,6 +661,11 @@ struct gov_attr_set { · 660 unmodified lines
661661 /* sysfs ops for cpufreq governors */
662662 extern const struct sysfs_ops governor_sysfs_ops;
663663
664+static inline struct gov_attr_set *to_gov_attr_set(struct kobject *kobj)
665+{
666+ return container_of(kobj, struct gov_attr_set, kobj);
667+}
668+
664669 void gov_attr_set_init(struct gov_attr_set *attr_set, struct list_head *list_node);
665670 void gov_attr_set_get(struct gov_attr_set *attr_set, struct list_head *list_node);
666671 unsigned int gov_attr_set_put(struct gov_attr_set *attr_set, struct list_head *list_node);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t