OSDN Git Service

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