Messages in this thread | | | From | Greg Kroah-Hartman <> | Subject | [PATCH 00/10] Driver core: remove BUS_ATTR() | Date | Fri, 21 Dec 2018 08:54:32 +0100 |
| |
In the quest to get rid of the need to specify any sysfs mode attributes, let's get rid of BUS_ATTR() and move the few remaining users of it over to use the "read write" and "write only" versions of the macro.
Greg Kroah-Hartman (10): PCI: pci.c: convert to use BUS_ATTR_RW PCI: pci-sysfs.c: convert to use BUS_ATTR_WO SCSI: fcoe: convert to use BUS_ATTR_WO pseries: ibmebus.c: convert to use BUS_ATTR_WO rapidio: rio-sysfs.c: convert to use BUS_ATTR_WO block: rbd: convert to use BUS_ATTR_WO and RO driver core: bus: convert to use BUS_ATTR_WO and RW Documentation: driver core: remove use of BUS_ATTR driver core: drop use of BUS_ATTR() driver core: remove BUS_ATTR()
Documentation/driver-model/bus.txt | 8 ++--- Documentation/filesystems/sysfs.txt | 4 ++- arch/powerpc/platforms/pseries/ibmebus.c | 10 +++--- drivers/base/bus.c | 20 +++++++---- drivers/block/rbd.c | 45 ++++++++++-------------- drivers/pci/pci-sysfs.c | 5 ++- drivers/pci/pci.c | 7 ++-- drivers/rapidio/rio-sysfs.c | 5 ++- drivers/scsi/fcoe/fcoe_sysfs.c | 4 +-- drivers/scsi/fcoe/fcoe_transport.c | 7 ++-- include/linux/device.h | 2 -- include/scsi/libfcoe.h | 6 ++-- 12 files changed, 56 insertions(+), 67 deletions(-)
-- 2.20.1
| |