ASoC: samsung: s3c24xx-i2s: Use devm_platform_get_and_ioremap_resource()
authorYang Yingliang <yangyingliang@huawei.com>
Wed, 16 Jun 2021 09:16:52 +0000 (17:16 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 21 Jun 2021 12:06:23 +0000 (13:06 +0100)
commitb73cbd7b1c2d477d143c544bdc2b3415bae58a14
tree6e7d20d52ae27434fce2ea87e1236a494c197b12
parent87a32d00249e6e3c6b1ac020d36136b2cd75fcc8
ASoC: samsung: s3c24xx-i2s: 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>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210616091652.2552927-5-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/s3c24xx-i2s.c