platform/chrome: chromeos_laptop - Restructure device associations
authorAaron Durbin <adurbin@chromium.org>
Mon, 21 Oct 2013 03:58:24 +0000 (20:58 -0700)
committerOlof Johansson <olof@lixom.net>
Mon, 25 Nov 2013 20:51:02 +0000 (12:51 -0800)
commitec199dd57ef71858b53828283ac495ed82164933
treed5ee893dec62a6de613454610461ab27a6f79251
parent9742e127cd0dd5783f8c11c62d07886003114499
platform/chrome: chromeos_laptop - Restructure device associations

The previous code had a single DMI matching entry
for each device on a board. Instead provide a single
DMI entry for each board which references a structure
about each board that lists the associated peripherals.
This allows for a lower number of DMI matching sequences
as well making it easier to add new boards.

Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Signed-off-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/platform/chrome/chromeos_laptop.c