ASoC: SOF: imx: Remove the use of dev_err_probe()

The dev_err_probe() doesn't do anything when error is '-ENOMEM'.
Therefore, remove the useless call to dev_err_probe(), and just
return the value instead.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
Reviewed-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Message-ID: <20250819112654.588527-1-zhao.xichao@vivo.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Xichao Zhao 2025-08-19 19:26:54 +08:00 • committed by Mark Brown
commit f840737d17
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 3 additions and 4 deletions