OSDN Git Service

ASoC: kirkwood-i2s: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Sat, 27 Jul 2019 15:07:17 +0000 (23:07 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 31 Jul 2019 11:06:26 +0000 (12:06 +0100)
commit89dd38bf130e661d92c6ab7e3b003907f1d3f367
tree692a883882fa646f75795ff50776a0afc272776f
parent0fb46f541bb3e6e5bbb155c08b9e75f92c21acb9
ASoC: kirkwood-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-14-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/kirkwood/kirkwood-i2s.c