PCI/sysfs: Rename "vpd" attribute accessors
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 28 Apr 2021 18:32:53 +0000 (13:32 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 29 Apr 2021 15:07:17 +0000 (10:07 -0500)
commit07b4523e9e2fe9763e5c62da032d3c444e83d0fd
tree9d8d1b031d00084897b61866eddf6766623e1b8a
parentf42c35ea3b137c01b3e073232131674be8efb924
PCI/sysfs: Rename "vpd" attribute accessors

Rename "vpd" attribute accessors so they fit with the BIN_ATTR_RW() macro
usage.  Currently there is no BIN_ATTR_ADMIN_RW() that uses 0600
permissions, but if there were, it would likely use "vpd_read()" and
"vpd_write()".  No functional change intended.

Extracted from the patch mentioned below by Heiner Kallweit
<hkallweit1@gmail.com>.

Link: https://lore.kernel.org/linux-pci/7703024f-8882-9eec-a122-599871728a89@gmail.com/
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/vpd.c