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

From: Linus Walleij
Date: Sat Jun 10 2023 - 15:01:47 EST


On Thu, Jan 19, 2023 at 10:21 AM <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>

Makes sense.
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij