[PATCH 0/2] PCI: Make use of PCI_DEVICE_XXX() helper function

From: Cai Huoqing
Date: Thu Jul 22 2021 - 07:19:24 EST


Could make use of PCI_DEVICE_XXX() helper function

Cai Huoqing (2):
PCI: Make use of PCI_DEVICE_SUB/_CLASS() helper function
PCI: vmd: Make use of PCI_DEVICE_DATA() helper function

drivers/pci/controller/vmd.c | 38 +++++++++++++++----------------
drivers/pci/hotplug/cpqphp_core.c | 13 ++---------
drivers/pci/search.c | 14 ++----------
include/linux/pci_ids.h | 2 ++
4 files changed, 25 insertions(+), 42 deletions(-)

--
2.25.1