OSDN Git Service

ASoC: uniphier: evea: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Sat, 27 Jul 2019 15:07:25 +0000 (23:07 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 31 Jul 2019 11:11:40 +0000 (12:11 +0100)
commit4e5bc35988af2483138feb3c5c3bf5fb0cae4228
tree6d0dec470077852cf17ddb2f8ebdb28201e93dae
parent2d1ffc7d0f58f6a39a34854e952f5020fc655af0
ASoC: uniphier: evea: 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-22-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/uniphier/evea.c