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)
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>

No differences found