staging:iio:max1363 take advantage of new iio_device_allocate private data.
authorJonathan Cameron <jic23@cam.ac.uk>
Fri, 15 Apr 2011 17:55:59 +0000 (18:55 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 26 Apr 2011 00:23:11 +0000 (17:23 -0700)
commit3dba81ba803ca0cd7a1bc0dc6f21536b30ad059f
treeccfb95650afc79fd9d561a24bf843fc0baa1473a
parentb6b7068ca3d2fa52d69870ba37cbb6ebac53eff8
staging:iio:max1363 take advantage of new iio_device_allocate private data.

The only fiddly bit in here was ensuring the regulator was available until after
the free had occured.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/adc/max1363.h
drivers/staging/iio/adc/max1363_core.c
drivers/staging/iio/adc/max1363_ring.c