summaryrefslogtreecommitdiffstats
path: root/Documentation/index.rst
diff options
context:
space:
mode:
authorXiongfeng Wang <wangxiongfeng2@huawei.com>2023-08-07 15:48:57 +0200
committerBjorn Helgaas <bhelgaas@google.com>2023-08-07 23:15:18 +0200
commitf7f7c3d61556bb25c8c45c164056533fb2dde867 (patch)
tree238ec6de09c7c348ee80a74269a8eefa1c03cb3e /Documentation/index.rst
parentPCI: apple: Use pci_dev_id() to simplify the code (diff)
downloadlinux-f7f7c3d61556bb25c8c45c164056533fb2dde867.tar.xz
linux-f7f7c3d61556bb25c8c45c164056533fb2dde867.zip
PCI/AER: Use pci_dev_id() to simplify the code
When we have a struct pci_dev *, use pci_dev_id() instead of manually composing the ID with PCI_DEVID() from dev->bus->number and dev->devfn. [bhelgaas: commit log] Link: https://lore.kernel.org/r/20230807134858.116051-3-wangxiongfeng2@huawei.com Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'Documentation/index.rst')
0 files changed, 0 insertions, 0 deletions