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