Commit 152d52cf authored by Bryan Freed's avatar Bryan Freed Committed by Greg Kroah-Hartman
Browse files

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: default avatarBryan Freed <bfreed@chromium.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6e882d47
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment