]> git.baikalelectronics.ru Git - kernel.git/commit
net: macb: Use devm_platform_get_and_ioremap_resource()
authorYang Yingliang <yangyingliang@huawei.com>
Mon, 7 Jun 2021 13:43:54 +0000 (21:43 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Jun 2021 21:07:22 +0000 (14:07 -0700)
commit6b0f25c455540c3ed26d482f48f4738a68467060
tree9139fbcf3b45229d1c8853ace119df7699c1b60d
parent800bafb2b22793cf2dc175121f0626800daa08fa
net: macb: 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>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb_main.c