iio: gyro: adis16080: 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:54 +0000 (15:50 +0100)
commitda419463d8819b66c2795b0fdbf462a1766d9ace
treefc510e1259b9f4638ba5b0a5118d08aa50755737
parenta5db3609989f7a496bf645783f22dfc2c285d37e
iio: gyro: adis16080: 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/adis16080.c