staging:iio:meter:ade7758: Use private data space from iio_allocate_device
authorMichael Hennerich <michael.hennerich@analog.com>
Wed, 18 May 2011 13:42:36 +0000 (14:42 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 19 May 2011 23:15:05 +0000 (16:15 -0700)
commita3f02370c9fa6d85fbee2c11649ebc9c84bae919
tree137f547f29e7f5e5954e5d82174b91bcebe8dca6
parent7df86302f4258764a3b8b1d63848dab3aa292654
staging:iio:meter:ade7758: Use private data space from iio_allocate_device

Use private data space from iio_allocate_device.
Drop dev_data in favor of iio_priv().
Fix indention issues from previous patches.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/meter/ade7758.h
drivers/staging/iio/meter/ade7758_core.c
drivers/staging/iio/meter/ade7758_ring.c
drivers/staging/iio/meter/ade7758_trigger.c