Re: [PATCH net-next v1] net: ethernet: dnet: convert to devm_platform_get_and_ioremap_resource

From: David Miller
Date: Mon Apr 20 2020 - 15:18:39 EST


From: Dejin Zheng <zhengdejin5@xxxxxxxxx>
Date: Sun, 19 Apr 2020 20:02:53 +0800

> 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@xxxxxxxxx>

Applied, thanks.