]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ASoC: soc-acpi: remove new_mach_data field
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 8 Feb 2019 23:45:57 +0000 (17:45 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 12 Feb 2019 16:56:06 +0000 (16:56 +0000)
We never used this field (or in older SOF implementations), let's
remove it

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-acpi.h

index 655e4e010cc821000d6f0b6f24d35ee8c82bae70..35b38e41e5b29639c029f24cece34033fc6a7d76 100644 (file)
@@ -86,7 +86,6 @@ struct snd_soc_acpi_mach_params {
  *  is not constant since this field may be updated at run-time
  * @sof_fw_filename: Sound Open Firmware file name, if enabled
  * @sof_tplg_filename: Sound Open Firmware topology file name, if enabled
- * @new_mach_data: machine driver private data fixup
  */
 /* Descriptor for SST ASoC machine driver */
 struct snd_soc_acpi_mach {
@@ -100,7 +99,6 @@ struct snd_soc_acpi_mach {
        struct snd_soc_acpi_mach_params mach_params;
        const char *sof_fw_filename;
        const char *sof_tplg_filename;
-       struct platform_device * (*new_mach_data)(void *pdata);
 };
 
 #define SND_SOC_ACPI_MAX_CODECS 3