]> 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)
commit053de098e3a3f9ac09c53e6cf2171e404a6872db
tree5c4168e219c9f978bc26761ce3338f90feecf90d
parent5aa2948f18b113ba7998ccdd3756d7fa46dd3996
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