diff options
| author | Jialin Zhang <[email protected]> | 2023-08-15 10:54:17 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2023-08-21 16:47:44 -0400 |
| commit | 48e590218d1b2f472a3667e454bbe07ecaecb3f4 (patch) | |
| tree | 94eb764d7db8a76cc25e63eada9dfe6a0eaba045 /drivers/usb/cdns3/cdns3-starfive.c | |
| parent | 517f8eb3fa64c206985cf22899d1964626df4ddd (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-starfive.c')
0 files changed, 0 insertions, 0 deletions