(factory-2305.B)Fix for light sensor device path

Default path will be set as
/sys/bus/iio/devices/device0/illuminance0_input. If test_list has an
argument of "device_path" then it will find the light sensor at
designated location as below:

    OperatorTest(
        autotest_name='factory_LightSensor',
        label_zh='光感應器',
	dargs={'device_path':'/sys/bus/iio/devices/iio:device0/'}),

BUG=chrome-os-partner:9725
TEST=factory light sensor test should be started

Reviewed-on: https://gerrit.chromium.org/gerrit/22780
Commit-Ready: Jay Kim <yongjaek@chromium.org>
Tested-by: Jay Kim <yongjaek@chromium.org>
Reviewed-by: Vic Yang <victoryang@chromium.org>

(cherry picked from commit 62d437e3d752045e9758659d9e95f916e9510113)

Change-Id: I72cc208766c8ca0f3b3f5bc1d79aa94fca28d720
Reviewed-on: https://gerrit.chromium.org/gerrit/22953
Tested-by: Jay Kim <yongjaek@chromium.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
1 file changed