[PATCH] mfd: sun4i-gpadc: use devm_platform_get_and_ioremap_resource()

Lee Jones lee at kernel.org
Fri Mar 3 00:21:22 PST 2023


On Wed, 08 Feb 2023, 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>
> ---
>  drivers/mfd/sun4i-gpadc.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

Applied, thanks

-- 
Lee Jones [李琼斯]



More information about the linux-arm-kernel mailing list