]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging:iio:cdc: Use dev_to_iio_dev()
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 12 May 2012 13:39:45 +0000 (15:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2012 20:39:21 +0000 (13:39 -0700)
commitd30a7f9df02232be194d00a61ee542e5ae1b368e
tree851ab530c5f1e02123936530b622c5fcb12051e0
parent703196b6bef2f4750f2deef85cbc64c06cb431f0
staging:iio:cdc: 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/cdc/ad7150.c
drivers/staging/iio/cdc/ad7152.c
drivers/staging/iio/cdc/ad7746.c