From: Jonathan Cameron Date: Thu, 7 Oct 2010 12:10:21 +0000 (+0100) Subject: staging: iio: max1363 fix bug due to scan_element directory move. X-Git-Tag: v2.6.37-rc1~60^2~3^2~302 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7861ff082fe75fd7d7fd22c87c37c8425674ae2;p=pandora-kernel.git 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 Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed