staging:iio:impedance-analyzer: Use dev_to_iio_dev()
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 12 May 2012 13:39:49 +0000 (15:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2012 20:39:21 +0000 (13:39 -0700)
commitba86dc46b80e6907b05dd1c7bc1e88f3dacde2dc
treef9f158e10540c2abb180d4163b7760fc7ea20642
parentf72e0834b47cbb13800069967700872b8dded96d
staging:iio:impedance-analyzer: 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/impedance-analyzer/ad5933.c