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

From: Florian Fainelli
Date: Thu Jan 19 2023 - 14:12:56 EST


On 1/19/23 01:18, 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>

Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian