staging: iio: ad9850: 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:02:39 +0000 (22:02 +0100)
commitf8e405d93d8a62d90e75b09ddaa600eb968ff783
tree6b3d7968dcd492146eeb1a279b899c2cdf6f97f8
parente3a27cc448acb4ddf66854d57b91190e8725909c
staging: iio: ad9850: 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/ad9850.c