mbox series

[0/2] PCI/VPD: Improve handling binary sysfs attribute

Message ID dba8e8ad-5243-ee84-38bd-f2b131f4b86f@gmail.com (mailing list archive)
Headers show
Series PCI/VPD: Improve handling binary sysfs attribute | expand

Message

Heiner Kallweit Jan. 7, 2021, 9:47 p.m. UTC
Since 104daa71b396 ("PCI: Determine actual VPD size on first access")
there's nothing that keeps us from using a static attribute.
This allows to significantly simplify the code.

Heiner Kallweit (2):
  PCI/VPD: Remove dead code from sysfs access functions
  PCI/VPD: Improve handling binary sysfs attribute

 drivers/pci/vpd.c | 56 ++++++++++-------------------------------------
 1 file changed, 11 insertions(+), 45 deletions(-)