ASoC: codecs: es7241: Use dev_err_probe() helper
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 14 Dec 2021 02:08:23 +0000 (11:08 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 20 Dec 2021 12:47:02 +0000 (12:47 +0000)
commit900b4b911aca2270ae3f966df5f31081a086c3cf
tree001bde3d839e3b8d49e1e340d4de5661e86427ba
parent5ea4e76b73cd6f2cf29b02a57040c1a11fa8c3f0
ASoC: codecs: es7241: Use dev_err_probe() helper

Use the dev_err_probe() helper, instead of open-coding the same
operation.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/20211214020843.2225831-3-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es7241.c