diff options
| author | Xiongfeng Wang <wangxiongfeng2@huawei.com> | 2023-08-07 21:17:59 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2023-08-15 18:07:42 -0400 |
| commit | bdacd16afa6c15dde29e3de938aef5c3f772f3bb (patch) | |
| tree | 3d4924c1a9152a0534d5304905b0502d4bc359c9 /scripts/gdb/linux/utils.py | |
| parent | 8b4c350c4d0e2df6ed24e670697662db18520acf (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 <wangxiongfeng2@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
