Patch 1 aggregates variant specific stuff in a struct which is directly referenced in the id tables (no functional change). Patch 2 actually adds ACPI IDs for the two DAC variants and uses the device match API to get the variant in a firmware agnostic manner. v2: - split patch into series as suggested by Mark Brown and Andrew F. Davis. - don't integrate variant data into variant struct but reference it (suggested by Andrew F. Davis). Nikolaus Voss (2): ASoC: tas5720.c: cleanup variant management ASoC: tas5720.c: add ACPI enumeration support sound/soc/codecs/tas5720.c | 111 +++++++++++++++---------------------- 1 file changed, 46 insertions(+), 65 deletions(-) -- 2.17.1