]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: Use devm_platform_ioremap_resource_byname()
authorYang Yingliang <yangyingliang@huawei.com>
Wed, 9 Jun 2021 13:36:55 +0000 (21:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jun 2021 22:24:43 +0000 (15:24 -0700)
commit329f553ada69691a5f1c91b8ffa0cb10e7a70bd8
tree53212a4518535272baab5cc1817f71afa0a6bcd5
parentc5b52f9dd2061c7a6f0c06adc972a647c5e0cc86
net: stmmac: Use devm_platform_ioremap_resource_byname()

Use the devm_platform_ioremap_resource_byname() helper instead of
calling platform_get_resource_byname() and devm_ioremap_resource()
separately.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c