]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: img-spdif-in: Use devm_platform_get_and_ioremap_resource()
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 15 Jun 2021 13:51:59 +0000 (21:51 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 15 Jun 2021 15:39:46 +0000 (16:39 +0100)
commitda51212d41f5ec2758b6af7c214039f2b02e2c42
tree1348f33c57f456768c8826e10182b87cb806a523
parent45e98cca567ec3ec1d90a3030405d3a2453bf862
ASoC: img-spdif-in: 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/20210615135200.1661695-4-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/img/img-spdif-in.c