ASoC: fsl: Use dev_err_probe() helper
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 14 Dec 2021 02:08:34 +0000 (11:08 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jun 2022 08:22:56 +0000 (10:22 +0200)
commit8737b5163f4e8d77f1f19a65ea639dec5606bb50
treed25e9a71e938c26b5b2c3fd8757a3c11781112e0
parent319d60b74860eafb7963e8d90498dc07030a4ac4
ASoC: fsl: Use dev_err_probe() helper

[ Upstream commit 2e6f557ca35aa330dbf31c5e1cc8119eff1526fa ]

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-14-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/fsl/fsl-asoc-card.c
sound/soc/fsl/imx-card.c
sound/soc/fsl/imx-sgtl5000.c
sound/soc/fsl/imx-spdif.c