ASoC: Intel: bytcr_rt5640: Use dmi_first_match() for DMI quirk handling
authorHans de Goede <[email protected]>
Sun, 13 May 2018 07:24:33 +0000 (09:24 +0200)
committerMark Brown <[email protected]>
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 <[email protected]>
Acked-by: Pierre-Louis Bossart <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/intel/boards/bytcr_rt5640.c