]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging:iio:adis16204_read_ring_data: Pass IIO device directly
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 12 May 2012 13:39:35 +0000 (15:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2012 20:39:19 +0000 (13:39 -0700)
commitce7ea56c270451820cfcc0c96aa6a73516b061ee
tree64369a371579cb2dd0b0308c1ab3f8a5784f0757
parent8fa2c315077787356bb7417d63e5a87b85f296a0
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>
drivers/staging/iio/accel/adis16204_ring.c