]> git.karo-electronics.de Git - linux-beck.git/commit
staging:iio:dac: Use dev_to_iio_dev()
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 12 May 2012 13:39:46 +0000 (15:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2012 20:39:21 +0000 (13:39 -0700)
commitac3f851ef8d0776c5dcf455506ba0dd0c978567a
tree87954164b8e63c3978f28e626389486f58b0b11c
parentd30a7f9df02232be194d00a61ee542e5ae1b368e
staging:iio:dac: 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/dac/ad5360.c
drivers/staging/iio/dac/ad5380.c
drivers/staging/iio/dac/ad5504.c
drivers/staging/iio/dac/ad5624r_spi.c
drivers/staging/iio/dac/ad5686.c
drivers/staging/iio/dac/ad5791.c
drivers/staging/iio/dac/max517.c