ASoC: Intel: bytcr_rt5640: Use dmi_first_match() for DMI quirk handling
authorHans de Goede <hdegoede@redhat.com>
Sun, 13 May 2018 07:24:33 +0000 (09:24 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 17 May 2018 06:47:15 +0000 (15:47 +0900)
commit6d1bfcc5e7d196416c2ac2d5aead05c0d7acffb0
treece8d3d7aac36d781be8730f64431acb06f5f6f26
parent3c0d01160899576af068ce293f5688b3f0bcce3c
ASoC: Intel: bytcr_rt5640: Use dmi_first_match() for DMI quirk handling

Use dmi_first_match() instead of dmi_check_system() + callbacks, this
avoid the need to initialize dmi_system_id.callback for each
byt_rt5640_quirk_table entry.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcr_rt5640.c