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

From: Cai Huoqing
Date: Thu Jul 22 2021 - 23:36:31 EST


Could make use of PCI_DEVICE_XXX() helper macro

v1->v2: *fix extra indent for git-apply failure

v2->v3: *update the subject line from "function" to "macro"
*add changelog to commit message

commit date: 7-23-2021 11:00

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

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