]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
net: mvneta: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Wed, 21 Aug 2019 13:33:02 +0000 (21:33 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Aug 2019 20:52:33 +0000 (13:52 -0700)
commit37f76049b095da153efa047538f73b1af8dfbc6a
treeeb6a32b87550271e6aaaa528aff0a7c465d9da4b
parent4f830a5af7b5b3614a03ef784cd2f4a83ceebf27
net: mvneta: 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/mvneta_bm.c