From: Lars-Peter Clausen Date: Sat, 12 May 2012 13:39:39 +0000 (+0200) Subject: staging:iio:adis16260_read_ring_data: Pass IIO device directly X-Git-Tag: v3.5-rc1~145^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48f29345cee22a4dfaf384ab3bbb8ba14f92b6a9;p=pandora-kernel.git staging:iio:adis16260_read_ring_data: Pass IIO device directly When calling adis16260_read_ring_data 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