[PATCH] i2c: aspeed: Use devm_platform_get_and_ioremap_resource()

Andrew Jeffery andrew at aj.id.au
Fri Jan 20 13:09:46 AEDT 2023



On Thu, 19 Jan 2023, at 19:45, ye.xingchen at zte.com.cn wrote:
> From: ye xingchen <ye.xingchen at zte.com.cn>
>
> 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 at zte.com.cn>

Reviewed-by: Andrew Jeffery <andrew at aj.id.au>


More information about the Linux-aspeed mailing list