• Tushar Behera's avatar
    ASoC: spear: Convert to use devm_ioremap_resource · fc09cfbe
    Tushar Behera authored
    Commit 75096579 ("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: default avatarTushar 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: default avatarMark Brown <broonie@linaro.org>
    fc09cfbe
spdif_out.c 9 KB