Re: [PATCH] i2c: i2c-mt65xx: Use devm_platform_get_and_ioremap_resource()

From: AngeloGioacchino Del Regno
Date: Thu Jan 19 2023 - 09:33:20 EST


Il 19/01/23 10:19, ye.xingchen@xxxxxxxxxx ha scritto:
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>

Thanks for the cleanup!

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>