]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/hns: Use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Fri, 6 Sep 2019 14:17:27 +0000 (22:17 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 13 Sep 2019 19:55:55 +0000 (16:55 -0300)
commit3b961b4f83161857ed671f489d00266469f34053
tree6da57049bc7a1107a4bb8fad9a4ee35b2e506e29
parentbd0abfa8ca1dab85e9cedbf1988e5b4e53c67584
RDMA/hns: 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/20190906141727.26552-1-yuehaibing@huawei.com
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v1.c