commit | ce7ea56c270451820cfcc0c96aa6a73516b061ee | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Sat May 12 15:39:35 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon May 14 13:39:19 2012 -0700 |
tree | 64369a371579cb2dd0b0308c1ab3f8a5784f0757 | |
parent | 8fa2c315077787356bb7417d63e5a87b85f296a0 [diff] |
staging:iio:adis16204_read_ring_data: Pass IIO device directly When calling adis16204_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 <lars@metafoo.de> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>