]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ixp4xx_eth: Use devm_platform_get_and_ioremap_resource()
authorYang Yingliang <yangyingliang@huawei.com>
Sat, 5 Jun 2021 12:25:15 +0000 (20:25 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Jun 2021 20:05:37 +0000 (13:05 -0700)
commit43dcf477f8cc9a14ec35275db64a1a1110c30d0d
tree32fee2880f59710b2c1daf73e29b22d4e7db047b
parent8d0003d7b9996d24618f2509016d8a19f844ae84
net: ethernet: ixp4xx_eth: Use devm_platform_get_and_ioremap_resource()

Use devm_platform_get_and_ioremap_resource() to simplify
code.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xscale/ixp4xx_eth.c