ASoC: samsung: s3c2412-i2s: Use devm_platform_get_and_ioremap_resource()
authorYang Yingliang <yangyingliang@huawei.com>
Wed, 16 Jun 2021 09:16:51 +0000 (17:16 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 21 Jun 2021 12:06:22 +0000 (13:06 +0100)
commit87a32d00249e6e3c6b1ac020d36136b2cd75fcc8
tree798ff00198ae1a4d1a25b696610601c80a19fbf6
parentc3255553d6b6cd5c8de42d2faa80e1d33401cb3b
ASoC: samsung: s3c2412-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-4-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/s3c2412-i2s.c