staging:iio:adc:ad7291: allocate chip state with iio_dev and use iio_priv for access.
authorJonathan Cameron <jic23@cam.ac.uk>
Mon, 27 Jun 2011 12:07:23 +0000 (13:07 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2011 21:39:39 +0000 (14:39 -0700)
commitd4397972812809126f4cf94eed17cc7b1bc3460d
treec079c5d19e234b1c87bf6553ebadf43c39d770b0
parentf4c794a2c16b1681759c39de7357de07296fd3fe
staging:iio:adc:ad7291: allocate chip state with iio_dev and use iio_priv for 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/ad7291.c