]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: hisi_sas: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Wed, 4 Sep 2019 13:02:56 +0000 (21:02 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 7 Sep 2019 20:40:56 +0000 (16:40 -0400)
commit5ecb8f3792648ebbb9b87597e41f140c45c2bae5
tree24f9ec4cd27b100c8df4cab3c0ec870b0359a0be
parent90dc7e8b29c8ad30695442a78dbfd6af13e6b024
scsi: hisi_sas: use devm_platform_ioremap_resource() to simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Link: https://lore.kernel.org/r/20190904130256.24704-1-yuehaibing@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_main.c