ASoC: atmel-pdmic: Use devm_platform_get_and_ioremap_resource()
authorYang Yingliang <yangyingliang@huawei.com>
Fri, 11 Jun 2021 03:53:51 +0000 (11:53 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 14 Jun 2021 14:01:07 +0000 (15:01 +0100)
commit92570939c8b952272f630f807f8ddfac58411869
treeb0a556a09223a4638d481ddeabbeb06031f8711b
parent3814c41778f3489ac103c9a045ae26c082d19be3
ASoC: atmel-pdmic: 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/20210611035351.3878091-1-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/atmel/atmel-pdmic.c