commit | 42376788469bb3d543f9e287796465166d2b40fe | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Thu Aug 01 20:29:11 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 01 13:10:34 2019 -0400 |
tree | 2d446335e3665eeec4ed64931a4be92b1411712d | |
parent | 291f4b6de48aa8a4140a189ab974d7c398d72bea [diff] |
net: dsa: bcm_sf2: 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>