commit | 4b522ce709fd0591969ac9e8cfb52a8e44bac4b0 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Sat May 12 15:39:43 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon May 14 13:39:20 2012 -0700 |
tree | 3b886556618a46e86ef5475013bf04536465880e | |
parent | 62c5183971428a559b687fcb15f548df28dbe8dc [diff] |
staging:iio:accel: 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>