summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/powernv
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-04 16:54:50 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2022-01-05 10:58:23 +1100
commit2bdf3f9e9df0a4ce7709fc916b9997ca2dc30d25 (patch)
tree1ac48e7c6e6b8bc9d71038062be52526f27e183c /arch/powerpc/platforms/powernv
parent08035a67f35a8765cac39bb12e56c61ee880227a (diff)
powerpc/cacheinfo: 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 powerpc cacheinfo 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. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Tyrel Datwyler <tyreld@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220104155450.1291277-1-gregkh@linuxfoundation.org
Diffstat (limited to 'arch/powerpc/platforms/powernv')
0 files changed, 0 insertions, 0 deletions