Re: [PATCH] i2c: aspeed: Use devm_platform_get_and_ioremap_resource()

From: Andrew Jeffery
Date: Thu Jan 19 2023 - 21:10:15 EST




On Thu, 19 Jan 2023, at 19:45, ye.xingchen@xxxxxxxxxx wrote:
> From: ye xingchen <ye.xingchen@xxxxxxxxxx>
>
> Convert platform_get_resource(), devm_ioremap_resource() to a single
> call to devm_platform_get_and_ioremap_resource(), as this is exactly
> what this function does.
>
> Signed-off-by: ye xingchen <ye.xingchen@xxxxxxxxxx>

Reviewed-by: Andrew Jeffery <andrew@xxxxxxxx>