aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/bcm_sf2.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-08-01 20:25:46 +0800
committerDavid S. Miller <davem@davemloft.net>2019-08-01 13:10:34 -0400
commit6551c8c807b8d35b404f5a4bfeb02b20bf8c1fad (patch)
tree8fe5a64234016c594fb073bf2d4a349602dc23eb /drivers/net/dsa/bcm_sf2.c
parentmvpp2: use devm_platform_ioremap_resource() to simplify code (diff)
downloadlinux-dev-6551c8c807b8d35b404f5a4bfeb02b20bf8c1fad.tar.xz
linux-dev-6551c8c807b8d35b404f5a4bfeb02b20bf8c1fad.zip
net: dsa: lantiq: 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>
Diffstat (limited to 'drivers/net/dsa/bcm_sf2.c')
0 files changed, 0 insertions, 0 deletions