ASoC: ep93xx-i2s: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Sat, 27 Jul 2019 15:07:08 +0000 (23:07 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 31 Jul 2019 11:04:11 +0000 (12:04 +0100)
commit4b3540074361fc7b97f2da54365c55ceca6333d2
tree6ae0265f22bb3c33312fc3f71dcf061f3a37cc92
parentf052172a5bb474fef2d0c3911655c9e107a3c024
ASoC: ep93xx-i2s: use devm_platform_ioremap_resource() to simplify code

Use devm_platform_ioremap_resource() to simplify the code a bit.
This is detected by coccinelle.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190727150738.54764-5-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/cirrus/ep93xx-i2s.c