diff options
author | 2019-04-24 21:11:58 +0200 | |
---|---|---|
committer | 2019-04-29 16:12:05 -0500 | |
commit | 4e544bac8267f65a0bf06aed1bde9964da4812ed (patch) | |
tree | 797279047b61cd10ab8d3cbd59c2a1025a55166e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI: Reset Lenovo ThinkPad P50 nvgpu at boot if necessary (diff) | |
download | wireguard-linux-4e544bac8267f65a0bf06aed1bde9964da4812ed.tar.xz wireguard-linux-4e544bac8267f65a0bf06aed1bde9964da4812ed.zip |
PCI: Add pci_dev_id() helper
In several places in the kernel we find PCI_DEVID used like this:
PCI_DEVID(dev->bus->number, dev->devfn)
Add a "pci_dev_id(struct pci_dev *dev)" helper to simplify callers.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.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