diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-29 15:13:32 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-12-30 19:32:23 +0100 |
commit | afca4cbe3a25dbe16424e6199793b38f41a17ed9 (patch) | |
tree | b214d237e9c67a1e7146b1ae64feadfc5f36de68 /drivers/regulator/lp8788-ldo.c | |
parent | platform/x86: x86-android-tablets: New driver for x86 Android tablets (diff) | |
download | linux-afca4cbe3a25dbe16424e6199793b38f41a17ed9.tar.xz linux-afca4cbe3a25dbe16424e6199793b38f41a17ed9.zip |
x86/platform/uv: 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 uv 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: Justin Ernst <justin.ernst@hpe.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/20211229141332.2552428-1-gregkh@linuxfoundation.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/regulator/lp8788-ldo.c')
0 files changed, 0 insertions, 0 deletions