[PATCH] ASoC: sunxi: use devm_platform_get_and_ioremap_resource()

Samuel Holland samuel at sholland.org
Sun Nov 13 13:28:48 PST 2022


On 11/11/22 02:41, ye.xingchen at zte.com.cn wrote:
> From: Minghao Chi <chi.minghao 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.
> 
> Reported-by: Zeal Robot <zealci at zte.com.cn>
> Signed-off-by: Minghao Chi <chi.minghao at zte.com.cn>
> ---
>  sound/soc/sunxi/sun50i-dmic.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Acked-by: Samuel Holland <samuel at sholland.org>




More information about the linux-arm-kernel mailing list