commit | 152d52cf7ec18e655a2d5bb6a79d42e6e09d92d7 | [log] [tgz] |
---|---|---|
author | Bryan Freed <bfreed@chromium.org> | Thu Jul 07 12:01:57 2011 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Jul 08 14:11:48 2011 -0700 |
tree | 067c5f00c0b4b4bc93bbdacd7ec7226f84a07d43 | |
parent | 6e882d472f2b9fdfa4838317c9b67a64403fef73 [diff] |
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>