ASoC: tegra: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Wed, 4 Sep 2019 08:39:09 +0000 (16:39 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 4 Sep 2019 12:48:50 +0000 (13:48 +0100)
commita813d0e8884e514e6e1b28ad3b22f7658d446b16
tree5915a9d22aac2c450e3c93cee151eb4a146c06ba
parent2f302d476c960fdf8481399a46b8df92408d06e2
ASoC: tegra: 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/20190904083909.18804-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra30_ahub.c