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