• Greg Kroah-Hartman's avatar
    parisc: pdc_stable: use default_groups in kobj_type · 75c09aad
    Greg Kroah-Hartman authored
    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 aa30f47c ("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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    Signed-off-by: default avatarHelge Deller <deller@gmx.de>
    75c09aad
pdc_stable.c 29.7 KB