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