ASoC: au1x: psc-i2s: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Sat, 27 Jul 2019 15:07:28 +0000 (23:07 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 31 Jul 2019 11:12:25 +0000 (12:12 +0100)
commit12a63c0fa03691328b948690601dc7dde8fc527b
tree2c170405a489db32e5135bd5182f24e368e45a72
parentb1abe8780041d568ae07013a3592519fca855a1c
ASoC: au1x: psc-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-25-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/au1x/psc-i2s.c