staging:iio:adc:ad7314 allocate chip state with iio_dev and use iio_priv to access.
commit744e4a6b857edaa78e167bfd03ba195066155caa
authorJonathan Cameron <jic23@cam.ac.uk>
Mon, 27 Jun 2011 12:07:24 +0000 (27 13:07 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2011 21:39:39 +0000 (28 14:39 -0700)
tree5974a03a8aaf1e24908c9ee8eca3f516c128ba68
parentd4397972812809126f4cf94eed17cc7b1bc3460d
staging:iio:adc:ad7314 allocate chip state with iio_dev and use iio_priv to access.

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/adc/ad7314.c