ASoC: amd: Use dev_probe_err helper
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 22 Jul 2021 13:27:28 +0000 (08:27 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 23 Jul 2021 13:52:50 +0000 (14:52 +0100)
commit718693352d8bcea65276615f4f8c8d531246b644
tree091562891601235a05bcd2a3b87472f00d46380d
parentaf7dc6f194a866cb3e991ef5248ffdeb3ef5c46a
ASoC: amd: Use dev_probe_err helper

Replace the pattern of check for err to match -EPROBE_DEFER and only
output errors to use the dev_err_probe helper instead.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20210722132731.13264-2-mario.limonciello@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp-da7219-max98357a.c
sound/soc/amd/acp3x-rt5682-max9836.c