commit | 0fbf0a15f9efd9b7dd5e49619718b6b51f3ce093 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Sat May 12 15:39:36 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon May 14 13:39:19 2012 -0700 |
tree | c6e90bfa56a412afda6a0a3bdc64e89cf75995bf | |
parent | ce7ea56c270451820cfcc0c96aa6a73516b061ee [diff] |
staging:iio:adis16209_read_ring_data: Pass IIO device directly When calling adis16209_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>