ASoC: axi-spdif: Use devm_platform_get_and_ioremap_resource()
authorYang Yingliang <yangyingliang@huawei.com>
Thu, 10 Jun 2021 13:31:20 +0000 (21:31 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 14 Jun 2021 13:59:16 +0000 (14:59 +0100)
commit68912ebf4d4e50ac4fd41fb9879de9a6b832f7c7
treea437739ca19d3c314f2c8b4dfa61c2cc4c24e13c
parent9494d059971c5120c60bbe4aae5cba00b20ed774
ASoC: axi-spdif: 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/20210610133120.141405-1-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/adi/axi-spdif.c