]> git.baikalelectronics.ru Git - kernel.git/commit
mvpp2: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Thu, 1 Aug 2019 12:22:02 +0000 (20:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Aug 2019 17:10:34 +0000 (13:10 -0400)
commit7b7ce44ee3f4fcc57d78e8d7d97daf2baa93bb82
tree5c4168e219c9f978bc26761ce3338f90feecf90d
parentf7af9ad6caf1f9ee86aedc8eb8050a637d7904ba
mvpp2: use devm_platform_ioremap_resource() to simplify code

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

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c