[PATCH] i2c: bcm2835: Use devm_platform_get_and_ioremap_resource()

Florian Fainelli f.fainelli at gmail.com
Thu Jan 19 11:10:18 PST 2023


On 1/19/23 01:18, 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: Florian Fainelli <f.fainelli at gmail.com>
-- 
Florian




More information about the linux-arm-kernel mailing list