diff options
author | 2023-08-07 21:48:56 +0800 | |
---|---|---|
committer | 2023-08-07 16:13:06 -0500 | |
commit | d332642a9821bfab4c0ddf1173e3af40127f0157 (patch) | |
tree | 10024113da1239f328b7efe1c24c51d9897945ab /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI/DOE: Fix destroy_work_on_stack() race (diff) | |
download | wireguard-linux-d332642a9821bfab4c0ddf1173e3af40127f0157.tar.xz wireguard-linux-d332642a9821bfab4c0ddf1173e3af40127f0157.zip |
PCI: apple: 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-2-wangxiongfeng2@huawei.com
Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions