ASoC: SOF: Check desc->ops directly in acpi/pci/of probe functions
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fri, 21 May 2021 09:27:58 +0000 (12:27 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 21 May 2021 12:13:35 +0000 (13:13 +0100)
commitfd979ec12eebcfb718f2c7c28b336d891d439f85
treec01c8c660355e62c45adc61d8769644d558d6289
parentaa736700f42fa0813e286ca2f9274ffaa25163b9
ASoC: SOF: Check desc->ops directly in acpi/pci/of probe functions

We can check for the desc->ops directly in the probe functions, the ops
is not used directly in the functions.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20210521092804.3721324-2-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-acpi-dev.c
sound/soc/sof/sof-of-dev.c
sound/soc/sof/sof-pci-dev.c