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