diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2021-04-16 21:52:07 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-04-30 14:38:32 -0500 |
commit | 5881b38912f3f48a4bd74a4eed58be12df012063 (patch) | |
tree | a3809f0b4cd3f511b021e7c24de66fac33ab0da6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0a08bc07610e172972985d6322fd671cff76c928 (diff) |
PCI/VPD: Add helper pci_get_func0_dev()
Factor out the "get function 0" logic into pci_get_func0_dev().
[bhelgaas: keep PCI_DEVFN(PCI_SLOT()) instead of exposing implementation
details, commit log]
Link: https://lore.kernel.org/r/75d1f619-8a35-690d-8fc8-e851264a4bbb@gmail.com
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions