ASoC: sirf-audio: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Wed, 4 Sep 2019 08:34:12 +0000 (16:34 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 4 Sep 2019 12:48:31 +0000 (13:48 +0100)
commit2f302d476c960fdf8481399a46b8df92408d06e2
treebf951736e0e08e5574fb6a92c23e67f3a4d96e17
parentf295495ec657c5fb2cff355456c2a20c4c945d93
ASoC: sirf-audio: 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/20190904083412.18700-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/sirf-audio-codec.c