staging:iio:light:isl29018: Fix the "Init of isl29018 fails" failure.
authorBryan Freed <bfreed@chromium.org>
Thu, 7 Jul 2011 19:01:57 +0000 (12:01 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Jul 2011 21:11:48 +0000 (14:11 -0700)
commit152d52cf7ec18e655a2d5bb6a79d42e6e09d92d7
tree067c5f00c0b4b4bc93bbdacd7ec7226f84a07d43
parent6e882d472f2b9fdfa4838317c9b67a64403fef73
staging:iio:light:isl29018: Fix the "Init of isl29018 fails" failure.

The I2C clientdata is set to indio_dev instead of chip as of a couple weeks ago.
Correct the calls to i2c_get_clientdata() accordingly.
Otherwise the driver fails to initialize.

Signed-off-by: Bryan Freed <bfreed@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/light/isl29018.c