summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-12-29 15:14:54 +0100
committerHans de Goede <hdegoede@redhat.com>2021-12-30 19:32:24 +0100
commit998e7ea8c641fc6bbca1acd478c6824733ac9851 (patch)
treec55503aedeecf1ce6c2ff6b6618e5a72afa5992a /drivers/power
parentafca4cbe3a25dbe16424e6199793b38f41a17ed9 (diff)
downloadlinux-998e7ea8c641fc6bbca1acd478c6824733ac9851.tar.bz2
platform/x86: intel-uncore-frequency: 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 uncore-frequency sysfs 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. Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Cc: Hans de Goede <hdegoede@redhat.com> Cc: Mark Gross <markgross@kernel.org> Cc: platform-driver-x86@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20211229141454.2552950-1-gregkh@linuxfoundation.org Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions