staging:iio:meter: Use dev_to_iio_dev()
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 12 May 2012 13:39:54 +0000 (15:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2012 20:39:22 +0000 (13:39 -0700)
commit196b59c1a23a683b808a7b8100257dd9b6478a1e
treecd425d38667a107cf1c603ec5b04c7c6975500c9
parenta651cf9b5f0065d803b2f72ecab0a39861e8b03d
staging:iio:meter: Use dev_to_iio_dev()

Replace open-coded instances of getting a iio_dev struct from a device struct
with dev_to_iio_dev().

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/meter/ade7753.c
drivers/staging/iio/meter/ade7754.c
drivers/staging/iio/meter/ade7758_core.c
drivers/staging/iio/meter/ade7759.c
drivers/staging/iio/meter/ade7854-i2c.c
drivers/staging/iio/meter/ade7854-spi.c
drivers/staging/iio/meter/ade7854.c