[PATCH] i2c: i2c-mt65xx: Use devm_platform_get_and_ioremap_resource()
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Thu Jan 19 06:31:55 PST 2023
Il 19/01/23 10:19, ye.xingchen at zte.com.cn ha scritto:
> 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>
Thanks for the cleanup!
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the Linux-mediatek
mailing list