parisc: pdc_stable: use default_groups in kobj_type
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jan 2022 09:51:17 +0000 (10:51 +0100)
committerHelge Deller <deller@gmx.de>
Fri, 7 Jan 2022 00:29:22 +0000 (01:29 +0100)
commit75c09aad79e4686367cbadb7dfe69c59d1537902
tree4bde2a65a54bdcd9f1512b6dc0a4f386e7de1c0c
parentc1c72d9bbf2bf91670ac589adf037f433642fff5
parisc: pdc_stable: 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 parisc pdc_stable 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: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Cc: Helge Deller <deller@gmx.de>
Cc: linux-parisc@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/parisc/pdc_stable.c