CHROMIUM: chromeos_laptop: fix ALS entries
- fix incorrect use of .matches to share callbacks among boards DMI
matches entries :
it's doing an AND operation between the DMI_MATCH clause.
- on Link, the ALS has been moved to the Panel DDC GMBus on Proto-1.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BUG=chromium-os:28217
TEST=on Link proto-1, verify that the ALS is detected properly at
startup and we can read its value from
/sys/bus/iio/devices/iio:device0/illuminance0_input node.
Change-Id: Ic4fdd765cb3c86b07112fd607b79644ebbe0a6cd
Reviewed-on: https://gerrit.chromium.org/gerrit/18910
Reviewed-by: Benson Leung <bleung@chromium.org>
Reviewed-by: Bryan Freed <bfreed@chromium.org>
Tested-by: Benson Leung <bleung@chromium.org>
Commit-Ready: Benson Leung <bleung@chromium.org>