From: Lars-Peter Clausen Date: Sat, 12 May 2012 13:39:41 +0000 (+0200) Subject: staging:iio:adis16400_ring: Pass IIO device directly X-Git-Tag: v3.5-rc1~145^2~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea19ed3b4f4ffde2a3e44e62905c1981d23f766e;p=pandora-kernel.git staging:iio:adis16400_ring: Pass IIO device directly When calling adis16350_spi_read_all and adis16400_spi_read_burst we pass the device struct of embedded in the IIO device only to look up the IIO device from the device struct again right away. This patch changes the code to pass the IIO device directly. Signed-off-by: Lars-Peter Clausen Acked-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed