ASoC: amd: acp: switch to use dev_err_probe()
authorYang Yingliang <yangyingliang@huawei.com>
Fri, 19 Aug 2022 07:37:57 +0000 (15:37 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 19 Aug 2022 12:19:57 +0000 (13:19 +0100)
commitf89a8c5bb3489e43ff87b5f91acc8db66a168e8e
treeab2482d38bf754e4f5f3f174033435e6a7d4a668
parent6a4ce20fd776d2fd19ffaf85cf34a53761e2c888
ASoC: amd: acp: switch to use dev_err_probe()

Use dev_err_probe() to simplify code and print error code.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220819073758.1273160-2-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp-pci.c