]> git.baikalelectronics.ru Git - kernel.git/commit
sysfs: add sysfs_create/remove_groups()
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 20:47:50 +0000 (13:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 23:02:19 +0000 (16:02 -0700)
commit5b0ccc35082f90f3d438e3a9233133947e4579bd
treea5e22d5953306740dca0da253752ad6830baaa50
parent81ced105d44efaa8cd10d154cc03542cf10f0e16
sysfs: add sysfs_create/remove_groups()

These functions are being open-coded in 3 different places in the driver
core, and other driver subsystems will want to start doing this as well,
so move it to the sysfs core to keep it all in one place, where we know
it is written properly.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/bus.c
drivers/base/core.c
drivers/base/driver.c
fs/sysfs/group.c
include/linux/sysfs.h