ASoC: sunxi: use devm_platform_get_and_ioremap_resource()
authorMinghao Chi <chi.minghao@zte.com.cn>
Fri, 11 Nov 2022 08:41:51 +0000 (16:41 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 14 Nov 2022 11:30:31 +0000 (11:30 +0000)
commitf8fd5f4813b6d8bdd003ffe164e98bfa01b1c830
treef02f3a99445ef4ec3267e2220877c5fcde81dbe8
parentec7bf231aaa1bdbcb69d23bc50c753c80fb22429
ASoC: sunxi: use devm_platform_get_and_ioremap_resource()

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@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Acked-by: Samuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/202211111641514826535@zte.com.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun50i-dmic.c