summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/nohash/64
diff options
context:
space:
mode:
authorXiongfeng Wang <wangxiongfeng2@huawei.com>2023-08-04 11:04:35 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2023-08-16 16:54:48 +0300
commitfe8aa8e3379326ecb77203cae50e8e83c054aedc (patch)
tree5633aae25e261fac053dcc3af58742cbc35a26cc /arch/powerpc/include/asm/nohash/64
parent984b07b428994d9e83c6de9a5f1307948188fe71 (diff)
downloadlinux-fe8aa8e3379326ecb77203cae50e8e83c054aedc.tar.xz
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 'arch/powerpc/include/asm/nohash/64')
0 files changed, 0 insertions, 0 deletions