diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-09-04 15:02:56 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-09-07 22:40:56 +0200 |
commit | c0c1a71e9542e6b0b58642332eb86fd32c9b2ed8 (patch) | |
tree | 24f9ec4cd27b100c8df4cab3c0ec870b0359a0be /drivers/scsi/ufs/ufshcd-pci.c | |
parent | scsi: ufs: Use kmemdup in ufshcd_read_string_desc() (diff) | |
download | linux-c0c1a71e9542e6b0b58642332eb86fd32c9b2ed8.tar.xz linux-c0c1a71e9542e6b0b58642332eb86fd32c9b2ed8.zip |
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>
Diffstat (limited to 'drivers/scsi/ufs/ufshcd-pci.c')
0 files changed, 0 insertions, 0 deletions