linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] PCI/VPD: Improve handling binary sysfs attribute
@ 2021-01-07 21:47 Heiner Kallweit
  2021-01-07 21:48 ` [PATCH 1/2] PCI/VPD: Remove dead code from sysfs access functions Heiner Kallweit
  2021-01-07 21:48 ` [PATCH 2/2] PCI/VPD: Improve handling binary sysfs attribute Heiner Kallweit
  0 siblings, 2 replies; 7+ messages in thread
From: Heiner Kallweit @ 2021-01-07 21:47 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: linux-pci

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(-)

-- 
2.30.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-02-03  8:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-07 21:47 [PATCH 0/2] PCI/VPD: Improve handling binary sysfs attribute Heiner Kallweit
2021-01-07 21:48 ` [PATCH 1/2] PCI/VPD: Remove dead code from sysfs access functions Heiner Kallweit
2021-02-02 23:59   ` Bjorn Helgaas
2021-02-03  7:17     ` Heiner Kallweit
2021-01-07 21:48 ` [PATCH 2/2] PCI/VPD: Improve handling binary sysfs attribute Heiner Kallweit
2021-02-03  0:09   ` Bjorn Helgaas
2021-02-03  8:03     ` Heiner Kallweit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).