]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sirf-audio: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Wed, 4 Sep 2019 08:34:12 +0000 (16:34 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 4 Sep 2019 12:48:31 +0000 (13:48 +0100)
commit1f8f781383c8daeb1a3707bb7927670e45f0c2d2
treebf951736e0e08e5574fb6a92c23e67f3a4d96e17
parent6d12a3165845cfded4c4691cd2de1f44898760ed
ASoC: sirf-audio: 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/20190904083412.18700-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/sirf-audio-codec.c