iio: imu: adis16480: Use devm_iio_device_alloc
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 30 Jul 2013 08:44:00 +0000 (09:44 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 Aug 2013 17:55:24 +0000 (18:55 +0100)
commit297c8876d9669dfa6d6a4c17bd4527495036f64f
tree5d77f4dfa8d5d41c50b6973dfdc4204f7e967b98
parent5b778b97d494653deb2f2320393900ee51c80894
iio: imu: adis16480: Use devm_iio_device_alloc

Using devm_iio_device_alloc makes code simpler.

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