staging:iio:dac:max517: allocate chip state with iio_dev and use iio_priv to access it.
authorJonathan Cameron <jic23@cam.ac.uk>
Mon, 27 Jun 2011 12:07:35 +0000 (13:07 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2011 21:39:44 +0000 (14:39 -0700)
commitcada11fa205b008afed1582bc9816ae5941baf6d
tree1a6cb9cc15a834294620bd65425c47f0a39a1c0d
parentf5730d52ba97cf58e4468b46ebbb49d704e23d20
staging:iio:dac:max517: allocate chip state with iio_dev and use iio_priv to access it.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/dac/max517.c