PCI/VPD: Use unaligned access helpers
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 26 Aug 2021 18:58:07 +0000 (20:58 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 31 Aug 2021 21:10:18 +0000 (16:10 -0500)
commit2c208abd4f9efac02622d8f3c9989f4b7b1ad973
tree5b0f8fdc3b85174d161d0d4594524fbc760278c9
parent06e1913d457121a98ee276179734c34dab30f388
PCI/VPD: Use unaligned access helpers

Use unaligned access helpers to simplify the code.

Link: https://lore.kernel.org/r/0f1c7e21-5330-72ab-139d-f5ce3c65f04a@gmail.com
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/vpd.c