Re: [PATCH -next] RDMA/hns: use devm_platform_ioremap_resource() to simplify code

2019-09-12 Thread Jason Gunthorpe
On Fri, Sep 06, 2019 at 10:17:27PM +0800, YueHaibing wrote: > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Signed-off-by: YueHaibing > --- > drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletion

[PATCH -next] RDMA/hns: use devm_platform_ioremap_resource() to simplify code

2019-09-06 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Signed-off-by: YueHaibing --- drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/infiniband/hw/hns/hns_roce_hw_v1.c b/drivers/i