staging: iio: ad9910: 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:47 +0000 (22:03 +0100)
commitd63519e3cf203d04f73eb7ae8eb466882543796e
treecde40c119e9fb94c288c44d6bdfe651af599e2d8
parent98d8abd690350309b70c7839b775d41a69cdbdc4
staging: iio: ad9910: 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/ad9910.c