OSDN Git Service

ASoC: codecs: msm8916-wcd: use devm_platform_ioremap_resource() to simplify code
authorYueHaibing <yuehaibing@huawei.com>
Sat, 27 Jul 2019 15:07:20 +0000 (23:07 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 31 Jul 2019 11:10:16 +0000 (12:10 +0100)
commitf62d6426718837663484bbf0ed94e56573cbc365
tree2a106374bad700abfb66ddeeab7233143ecbced0
parent1c63223cda84fb10643938e4e4eb02110f8ae9a2
ASoC: codecs: msm8916-wcd: 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-17-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/msm8916-wcd-digital.c