diff options
| author | Xiongfeng Wang <wangxiongfeng2@huawei.com> | 2023-08-04 16:04:35 +0800 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-08-16 23:54:48 +1000 |
| commit | fe8aa8e3379326ecb77203cae50e8e83c054aedc (patch) | |
| tree | 5633aae25e261fac053dcc3af58742cbc35a26cc /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | powerpc/xics: Remove unnecessary endian conversion (diff) | |
| download | linux-fe8aa8e3379326ecb77203cae50e8e83c054aedc.tar.gz linux-fe8aa8e3379326ecb77203cae50e8e83c054aedc.zip | |
powerpc/powernv/pci: 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>
Reviewed-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230804080435.191196-1-wangxiongfeng2@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
