ASoC: sun4i-i2s: Use devm_platform_get_and_ioremap_resource()
authorYang Yingliang <yangyingliang@huawei.com>
Thu, 17 Jun 2021 04:50:11 +0000 (12:50 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 21 Jun 2021 12:04:17 +0000 (13:04 +0100)
commitcc384f05c05618dfcf1990054c1f40bedbb01cca
tree587399393e50c8304b19f2c3317dc3b26ad1eeea
parent37c617f1cf062b56141a06e2ae355e3ecc8b8451
ASoC: sun4i-i2s: 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-3-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-i2s.c