Re: [PATCH] thermal: brcmstb_thermal: Use devm_platform_get_and_ioremap_resource()

From: Florian Fainelli
Date: Wed Jan 18 2023 - 13:08:14 EST


On 1/18/23 00:31, 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>

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