PCI: pci-sysfs.c: convert to use BUS_ATTR_WO
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Dec 2018 07:54:34 +0000 (08:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 13:25:26 +0000 (14:25 +0100)
commit1094f6d06703bd489cea444f9ba03bd4ef123acc
tree48d6d299a778bee0a6956dc39e0efbc9702fca92
parentd61dfafc30b44dd55d886cda54543dd37cea3e13
PCI: pci-sysfs.c: convert to use BUS_ATTR_WO

We are trying to get rid of BUS_ATTR() and the usage of that in
pci-sysfs.c can be trivially converted to use BUS_ATTR_WO(), so use that
instead.

Cc: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/pci-sysfs.c