[PATCH] i2c: versatile: Use devm_platform_get_and_ioremap_resource()
Linus Walleij
linus.walleij at linaro.org
Sat Jun 10 12:01:24 PDT 2023
On Thu, Jan 19, 2023 at 10:21 AM <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>
Makes sense.
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list