commit | 0462e2bb4e04f2facb32bc13611c7ca91c1c4468 | [log] [tgz] |
---|---|---|
author | Peter Meerwald <pmeerw@pmeerw.net> | Wed May 16 18:22:03 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed May 16 13:26:35 2012 -0700 |
tree | 1ee44479126909ce87764a8c91df2a86e22792cd | |
parent | 5cdd9b75bf58422659d824d7aabf46bdb6a8e18c [diff] |
staging: iio: fix access to hmc5843 private data i2c_get_clientdata(client) points to iio_dev, not hmc5843_data; fixes issue similar to 62d2feb9803f18c4e3c8a1a2c7e30a54df8a1d72 Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Acked-by: Shubhrajyoti D <shubhrajyoti@ti.com> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>