ASoC: spear: Convert to use devm_ioremap_resource
authorTushar Behera <tushar.behera@linaro.org>
Mon, 17 Jun 2013 10:40:57 +0000 (16:10 +0530)
committerMark Brown <broonie@linaro.org>
Mon, 17 Jun 2013 16:19:58 +0000 (17:19 +0100)
commitfc09cfbe3e3535897456c12f37fa83024bdab92d
tree2134e5020c3dd04fb6f87a1d6ecdfead6da34bba
parent1d26f752ace99c30ceadb4e5c106736b15da99e1
ASoC: spear: Convert to use devm_ioremap_resource

Commit 75096579c3ac ("lib: devres: Introduce devm_ioremap_resource()")
introduced devm_ioremap_resource() and deprecated the use of
devm_request_and_ioremap().

devm_request_mem_region is called in devm_ioremap_resource(). Hence that
part can also be removed.

Since devm_ioremap_resource prints error message on failure, there is
no need to print an explicit warning message.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
CC: alsa-devel@alsa-project.org
CC: Liam Girdwood <lgirdwood@gmail.com>
CC: Mark Brown <broonie@kernel.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/spear/spdif_out.c