iio: gyro: adis16260: Use devm_iio_device_alloc
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 13 Aug 2013 06:34:00 +0000 (07:34 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 17 Aug 2013 14:50:55 +0000 (15:50 +0100)
commit827b14a8ece91f3502ae4efe454197ce3210a231
tree899eadb610251fef02a36865deac7b65fae42ae4
parentc0ca6d31a519682445e4c672b92f27ff7e0c5a7f
iio: gyro: adis16260: Use devm_iio_device_alloc

Using devm_iio_device_alloc makes code simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/gyro/adis16260.c