Re: [PATCH net-next] net: dsa: bcm_sf2: use devm_platform_ioremap_resource() to simplify code

From: David Miller
Date: Thu Aug 01 2019 - 13:16:02 EST


From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Thu, 1 Aug 2019 20:29:11 +0800

> Use devm_platform_ioremap_resource() to simplify the code a bit.
> This is detected by coccinelle.
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Applied.