staging:iio:addac: Use dev_to_iio_dev()
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 12 May 2012 13:39:44 +0000 (15:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2012 20:39:20 +0000 (13:39 -0700)
commit703196b6bef2f4750f2deef85cbc64c06cb431f0
treef5f945e60c80e60fc6de465f9bac0896281c15de
parent4b522ce709fd0591969ac9e8cfb52a8e44bac4b0
staging:iio:addac: 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/addac/adt7316.c