aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorXiongfeng Wang <[email protected]>2023-08-07 21:17:59 +0800
committerAlex Deucher <[email protected]>2023-08-15 18:07:42 -0400
commitbdacd16afa6c15dde29e3de938aef5c3f772f3bb (patch)
tree3d4924c1a9152a0534d5304905b0502d4bc359c9 /tools/perf/scripts/python/bin
parent8b4c350c4d0e2df6ed24e670697662db18520acf (diff)
drm/amd: Use pci_dev_id() to simplify the code
PCI core API pci_dev_id() can be used to get the BDF number for a pci device. We don't need to compose it mannually. Use pci_dev_id() to simplify the code a little bit. Signed-off-by: Xiongfeng Wang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions