ASoC: rt5645: cleanup DMI matching code
authorHans de Goede <hdegoede@redhat.com>
Tue, 2 Jan 2018 18:53:12 +0000 (19:53 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 3 Jan 2018 11:30:10 +0000 (11:30 +0000)
commit78f5605c0329f8b108a915a46032093628f6054b
tree36cfb5a13a85214c46499dab87d56a37f732fbca
parent2dc6e1a4883a3eba451c76b726c23a580ed05307
ASoC: rt5645: cleanup DMI matching code

Rather then doing a dmi_check_system() per possible system use an array
with all known systems, with dmi_system_id.driver_data pointing to the
platform-data for the matching system.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5645.c