diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-28 16:19:12 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-12-28 21:13:12 +0300 |
commit | fe262d5c1fc54fac8703d3d82a14aaad9627a168 (patch) | |
tree | 12b22e4606345371edb62cd6f7dd86302debaf16 /init | |
parent | dfeeedc1bf5772226bddf51ed3f853e5a6707bf1 (diff) | |
download | linux-fe262d5c1fc54fac8703d3d82a14aaad9627a168.tar.xz |
cpufreq: use default_groups in kobj_type
There are currently 2 ways to create a set of sysfs files for a
kobj_type, through the default_attrs field, and the default_groups
field. Move the cpufreq code to use default_groups field which has been
the preferred way since aa30f47cf666 ("kobject: Add support for default
attribute groups to kobj_type") so that we can soon get rid of the
obsolete default_attrs field.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions