mbox series

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

Message ID 20210722112954.477-1-caihuoqing@baidu.com (mailing list archive)
Headers show
Series PCI: Make use of PCI_DEVICE_XXX() helper function | expand

Message

Cai,Huoqing July 22, 2021, 11:29 a.m. UTC
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(-)