summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/config.py
diff options
context:
space:
mode:
authorZheng Zengkai <zhengzengkai@huawei.com>2023-08-11 14:07:01 +0300
committerDavid S. Miller <davem@davemloft.net>2023-08-13 14:30:39 +0300
commitca51d1356071e40d48169a308e996be779be56d4 (patch)
treea0ab8ff0db062db779814962ea82750f1056a0d0 /scripts/gdb/linux/config.py
parentadc4d18538ec5e7ae44323130257c2ba47da2d57 (diff)
downloadlinux-ca51d1356071e40d48169a308e996be779be56d4.tar.xz
net: tc35815: 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 manually. Use pci_dev_id() to simplify the code a little bit. Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions