commit | a7861ff082fe75fd7d7fd22c87c37c8425674ae2 | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <jic23@cam.ac.uk> | Thu Oct 07 13:10:21 2010 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu Oct 07 10:06:44 2010 -0700 |
tree | 66504b73355a1a820916430bcbf8439f39de904a | |
parent | 7aa3baeb976700971acad518b3bfaad5fe1afd54 [diff] |
staging: iio: max1363 fix bug due to scan_element directory move. The device found passed to the attr functions is that of the ring buffer, not the the iio_dev so we need to bounce through one more hop to get the right address. Reported-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>