commit | e53f5ac52ec19c8c606aeacdd13fed2a03d7365a | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Sat May 12 15:39:33 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon May 14 13:37:45 2012 -0700 |
tree | 8463a43fb6121066350373dc9cc045afdf4c39d0 | |
parent | 7a7913f11ddf932e20d2bde72bec57f2f7a9b49e [diff] |
iio: 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>