]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8a31635c82d9af58fa7db901f2e39990845f7efe
tree0402fbdc4c776a81df64feda5fc094f3ba63da0c
parenta6c44c8e5e9eba986f19ae7e547cd1a80e6c9097
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