summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/stmicro/stmmac/dwmac-anarion.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-08-21 21:54:06 +0800
committerDavid S. Miller <davem@davemloft.net>2019-08-21 13:52:33 -0700
commitf33bf6b00f20c9d26c42dfdaf8b83c2b0c1e6f71 (patch)
tree067f1e8849c56f0c8011778195960309bd3b3cff /drivers/net/ethernet/stmicro/stmmac/dwmac-anarion.c
parent999232a38ff10209df1ce40cabe8cf8982c530e7 (diff)
net: stmmac: dwmac-meson: 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> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/dwmac-anarion.c')
0 files changed, 0 insertions, 0 deletions