staging: iio: ad9852: Use devm_iio_device_alloc
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 5 Sep 2013 09:29:00 +0000 (10:29 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 7 Sep 2013 21:03:18 +0000 (22:03 +0100)
commit98d8abd690350309b70c7839b775d41a69cdbdc4
tree85b06a89ebac77c4fbeee95b0e4de7f31bc945d2
parentf8e405d93d8a62d90e75b09ddaa600eb968ff783
staging: iio: ad9852: Use devm_iio_device_alloc

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/frequency/ad9852.c