ASoC: sunxi: sun4i-codec: Use devm_platform_get_and_ioremap_resource()
authorYang Yingliang <yangyingliang@huawei.com>
Thu, 17 Jun 2021 04:50:10 +0000 (12:50 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 21 Jun 2021 12:04:16 +0000 (13:04 +0100)
commit37c617f1cf062b56141a06e2ae355e3ecc8b8451
tree0402fbdc4c776a81df64feda5fc094f3ba63da0c
parent45ce213392df07b9e2443666c0910e1617882cf3
ASoC: sunxi: sun4i-codec: Use devm_platform_get_and_ioremap_resource()

Use devm_platform_get_and_ioremap_resource() to simplify
code.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20210617045012.1119650-2-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-codec.c