staging: iio: adis16209: Use devm_iio_device_alloc
authorSachin Kamat <sachin.kamat@linaro.org>
Sat, 24 Aug 2013 18:48:00 +0000 (19:48 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 28 Aug 2013 19:20:24 +0000 (20:20 +0100)
commit864bf5cd86b3a91a6608929e5661947060ca160d
tree6e5d353b643a2db2802917e233611e613490ceaa
parentcdfb09a40dc9cd71e86f458353ddd3cdeecd5ace
staging: iio: adis16209: Use devm_iio_device_alloc

Using devm_iio_device_alloc makes code simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/accel/adis16209_core.c