ASoC: fsl_aud2htx: Use devm_platform_get_and_ioremap_resource()
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 15 Jun 2021 01:39:15 +0000 (09:39 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 21 Jun 2021 12:03:12 +0000 (13:03 +0100)
commit41e90cbbc50085487b4633f08c86dd71b0f18d7f
tree3caf8555d710e505d33920850cea23263470270a
parentc66d7621737fb07e660b3d6eef40636ef4e9103a
ASoC: fsl_aud2htx: 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/20210615013922.784296-3-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_aud2htx.c