staging: iio: adis16204: 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)
commitcdfb09a40dc9cd71e86f458353ddd3cdeecd5ace
treed09683b15ffdb606a260ce41d895cb9738807de7
parent69fad8aa4dc81e04427faf2a9a43a615fb618cb2
staging: iio: adis16204: 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/adis16204_core.c