diff options
author | Zheng Zengkai <zhengzengkai@huawei.com> | 2023-08-11 18:25:49 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-08-15 18:08:29 -0400 |
commit | 3cecafc1970f139ea50f7e6adb45525b069e0636 (patch) | |
tree | a71318264ae6b5bbab34874e84ab006b1ddb4009 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e8b2ad875ffa1c213d047e02c9c1b7db5f149241 (diff) |
drm/radeon: 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: Zheng Zengkai <zhengzengkai@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions