[GIT PULL] Driver core changes for 5.18-rc2
From: Greg KH
Date: Sun Apr 10 2022 - 08:45:09 EST
The following changes since commit 3123109284176b1532874591f7c81f3837bbdc17:
Linux 5.18-rc1 (2022-04-03 14:08:21 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git tags/driver-core-5.18-rc2
for you to fetch changes up to cdb4f26a63c391317e335e6e683a614358e70aeb:
kobject: kobj_type: remove default_attrs (2022-04-05 15:39:19 +0200)
----------------------------------------------------------------
Driver core changes for 5.18-rc2
Here are 2 small driver core changes for 5.18-rc2.
They are the final bits in the removal of the default_attrs field in
struct kobj_type. I had to wait until after 5.18-rc1 for all of the
changes to do this came in through different development trees, and then
one new user snuck in. So this series has 2 changes:
- removal of the default_attrs field in the powerpc/pseries/vas
code. Change has been acked by the PPC maintainers to come
through this tree
- removal of default_attrs from struct kobj_type now that all
in-kernel users are removed. This cleans up the kobject code
a little bit and removes some duplicated functionality that
confused people (now there is only one way to do default
groups.)
All of these have been in linux-next for all of this week with no
reported problems.
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
----------------------------------------------------------------
Greg Kroah-Hartman (2):
powerpc/pseries/vas: use default_groups in kobj_type
kobject: kobj_type: remove default_attrs
arch/powerpc/platforms/pseries/vas-sysfs.c | 6 ++++--
fs/sysfs/file.c | 13 ------------
include/linux/kobject.h | 1 -
lib/kobject.c | 32 ------------------------------
4 files changed, 4 insertions(+), 48 deletions(-)