ASoC: ep93xx: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Wed, 4 Sep 2019 08:25:07 +0000 (16:25 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 4 Sep 2019 12:48:22 +0000 (13:48 +0100)
commitf295495ec657c5fb2cff355456c2a20c4c945d93
tree97fdbc30d1cfa594d74e08e6d7f4892f2268628e
parentdfafc1822f6826c9d250223f59ce8c3b227866a6
ASoC: ep93xx: 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/20190904082507.24300-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/cirrus/ep93xx-ac97.c