]> git.baikalelectronics.ru Git - kernel.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)
commit61b8e97dffe6be7dcb9352399dbcdfa2b00d526b
tree6da57049bc7a1107a4bb8fad9a4ee35b2e506e29
parentdfa1e573ac7f736942248fe17112bb074e48dccf
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