[PATCH] i2c: versatile: Use devm_platform_get_and_ioremap_resource()

Andi Shyti andi.shyti at kernel.org
Sat Jun 10 06:47:12 PDT 2023


Hi Ye,

On Thu, Jan 19, 2023 at 05:21:23PM +0800, 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: Andi Shyti <andi.shyti at kernel.org> 

Thanks,
Andi



More information about the linux-arm-kernel mailing list