diff options
author | 2023-08-11 18:25:49 +0800 | |
---|---|---|
committer | 2023-08-15 18:08:29 -0400 | |
commit | 3cecafc1970f139ea50f7e6adb45525b069e0636 (patch) | |
tree | a71318264ae6b5bbab34874e84ab006b1ddb4009 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amdgpu: Remove duplicated includes (diff) | |
download | wireguard-linux-3cecafc1970f139ea50f7e6adb45525b069e0636.tar.xz wireguard-linux-3cecafc1970f139ea50f7e6adb45525b069e0636.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions