]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sunxi: sun4i-spdif: Use devm_platform_get_and_ioremap_resource()
authorYang Yingliang <yangyingliang@huawei.com>
Thu, 17 Jun 2021 04:50:12 +0000 (12:50 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 21 Jun 2021 12:04:18 +0000 (13:04 +0100)
commit6f40b702b3b7af76e44b4d2747f555fc09ce9843
tree4acd2071adb38c8b175e2aefb659f547d628d4d5
parent2032f57e045b4a0ba138115fcd5edad3e156df1a
ASoC: sunxi: sun4i-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/20210617045012.1119650-4-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-spdif.c