staging: iio: ad5930: 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:00:04 +0000 (22:00 +0100)
commit85bf6ee3657621eb2b73892fa681081ee31cdee3
treeebe4798a24817db46e626d55b5f199b25b3b82a2
parent664716aedacbfd02535717b67be88678b348502a
staging: iio: ad5930: 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/ad5930.c