commit | dedb1e77aabaad8d91c1aad5f92f127cecd27c3f | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Sat May 12 15:39:50 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon May 14 13:39:21 2012 -0700 |
tree | bac8facfd61cd8559020d54af9cc5ef0acef1058 | |
parent | ba86dc46b80e6907b05dd1c7bc1e88f3dacde2dc [diff] |
staging:iio:imu: 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>