PCI/VPD: Move VPD sysfs code to vpd.c
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 19 Mar 2018 18:06:17 +0000 (13:06 -0500)
committerBjorn Helgaas <helgaas@kernel.org>
Mon, 19 Mar 2018 18:06:17 +0000 (13:06 -0500)
commitb1c615c48fa93db64310e8d1a457b364a486fde8
tree067317ad7af8950ae39030d2727091857b6fd000
parentf0eb77ae6b857bf8118f7a8ee0a8ba076feed70d
PCI/VPD: Move VPD sysfs code to vpd.c

Move the VPD-related sysfs code from pci-sysfs.c to vpd.c.  This follows
the pattern of pcie_aspm_create_sysfs_dev_files().  The goal is to
encapsulate all the VPD code and structures in vpd.c.

No functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci-sysfs.c
drivers/pci/pci.h
drivers/pci/vpd.c