commit | 67688105af837644ffdfb00bc2f60158d37509f6 | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <jic23@cam.ac.uk> | Mon Jun 27 13:07:18 2011 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Jun 28 14:39:37 2011 -0700 |
tree | fd57ef923697774b39f1321dcd502af7b032c833 | |
parent | ed0c012b855f6f73431b62c8db70ed5a1b0c8a25 [diff] |
staging:iio:adc:ad7476 allocate state with iio_dev and use iio_priv to access. Reg handling is a little fiddly given the ordering of calls. All part of getting rid of iio_dev->dev_data 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>