diff options
author | Dejin Zheng <zhengdejin5@gmail.com> | 2020-04-19 14:02:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-20 21:18:13 +0200 |
commit | 92efe48e8fe2b6848ca56e14436c2b7d20c986d4 (patch) | |
tree | b6b236397eb32bb8080e5732dca0997a1fcdd811 /drivers/net/ethernet/sun | |
parent | selftests: pmtu: implement IPIP, SIT and ip6tnl PMTU discovery tests (diff) | |
download | linux-92efe48e8fe2b6848ca56e14436c2b7d20c986d4.tar.xz linux-92efe48e8fe2b6848ca56e14436c2b7d20c986d4.zip |
net: ethernet: dnet: convert to devm_platform_get_and_ioremap_resource
use devm_platform_get_and_ioremap_resource() to simplify code, which
contains platform_get_resource() and devm_ioremap_resource(), it also
get the resource for use by the following code.
Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sun')
0 files changed, 0 insertions, 0 deletions