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