ASoC: xlnx: Use devm_platform_ioremap_resource() in xlnx_formatter_pcm_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 19 Sep 2019 15:27:57 +0000 (17:27 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 1 Oct 2019 11:09:17 +0000 (12:09 +0100)
commit6cfb1cd60394c2d88c6868d147cf6882a9ca3b6c
tree7fade0767675be07b3bb9e09d2c64684b295e9ee
parent8735141031d7ba96f1c2b3a45ec4efbfd47ad24b
ASoC: xlnx: Use devm_platform_ioremap_resource() in xlnx_formatter_pcm_probe()

Simplify this function implementation by using a known wrapper function.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Link: https://lore.kernel.org/r/8f7cf483-6ab3-d00f-5606-863e9f5b31fc@web.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/xilinx/xlnx_formatter_pcm.c