aboutsummaryrefslogtreecommitdiff
path: root/mm/damon/sysfs.c
diff options
context:
space:
mode:
authorJialin Zhang <zhangjialin11@huawei.com>2023-08-15 10:54:19 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2023-08-21 16:47:44 -0400
commitbb1459cb84da009bb4c5faed4a2647ce3810bdca (patch)
treeae9d16f67ccded4a61c0f44283dc0c0e90224ec1 /mm/damon/sysfs.c
parenta46421fdf7e9fb662becf88b002872cb491dbcaa (diff)
scsi: megaraid: 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: Jialin Zhang <zhangjialin11@huawei.com> Link: https://lore.kernel.org/r/20230815025419.3523236-4-zhangjialin11@huawei.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'mm/damon/sysfs.c')
0 files changed, 0 insertions, 0 deletions