staging:iio:dac:ad5446: allocate chip state with iio_dev and use iio_priv for access.
authorJonathan Cameron <jic23@cam.ac.uk>
Mon, 27 Jun 2011 12:07:33 +0000 (13:07 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2011 21:39:43 +0000 (14:39 -0700)
commit86729fc46f7791f5978309bbdac862a9833c5ce9
tree498ef0ccbc8481e499c271d200d5a4055326440c
parenta3684ded4fdd1ee7b5bee84e2aa96586f47fb07f
staging:iio:dac:ad5446: 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/dac/ad5446.c
drivers/staging/iio/dac/ad5446.h