staging:iio:gyro:adis16130: allocate chip state with iio_dev and use iio_priv to...
authorJonathan Cameron <jic23@cam.ac.uk>
Mon, 27 Jun 2011 12:07:45 +0000 (13:07 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2011 21:39:47 +0000 (14:39 -0700)
commit9f8632d73edc0f132212cf7eb826c450283014d9
tree1ea59d86c69e696ae12ad18d27d50409994b0b10
parent1dd9290a7ef8877d12a9df28c2df677fde145dfe
staging:iio:gyro:adis16130: allocate chip state with iio_dev and use iio_priv to access it.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/gyro/adis16130_core.c