OSDN Git Service

ASoC: meson: axg-tdm-formatter: use devm_platform_ioremap_resource() to simplify...
authorYueHaibing <yuehaibing@huawei.com>
Sat, 27 Jul 2019 15:07:30 +0000 (23:07 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 31 Jul 2019 11:12:52 +0000 (12:12 +0100)
commit10392fcad7dfc8ea38959b18327ff18b81b1c161
tree80aa0c5507d7a8385143bcb7be980b47d51543c0
parenta95c901248642d62dc7462a2d2190c8ac183c84f
ASoC: meson: axg-tdm-formatter: 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-27-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/meson/axg-tdm-formatter.c