summaryrefslogtreecommitdiff
path: root/drivers/scsi/megaraid/megaraid_sas_base.c
diff options
context:
space:
mode:
authorJialin Zhang <zhangjialin11@huawei.com>2023-08-15 05:54:17 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2023-08-21 23:47:44 +0300
commit48e590218d1b2f472a3667e454bbe07ecaecb3f4 (patch)
tree94eb764d7db8a76cc25e63eada9dfe6a0eaba045 /drivers/scsi/megaraid/megaraid_sas_base.c
parent517f8eb3fa64c206985cf22899d1964626df4ddd (diff)
downloadlinux-48e590218d1b2f472a3667e454bbe07ecaecb3f4.tar.xz
scsi: mvumi: 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 mannally. Use pci_dev_id() to simplify the code a little bit. Signed-off-by: Jialin Zhang <zhangjialin11@huawei.com> Link: https://lore.kernel.org/r/20230815025419.3523236-2-zhangjialin11@huawei.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas_base.c')
0 files changed, 0 insertions, 0 deletions