OSDN Git Service

staging: iio: ad9951: 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:04:49 +0000 (22:04 +0100)
commit177e4af04e5e11aee18e794359997cc301fa9f0f
tree08f5b70da6c31a23c2c8055c7715290eeb63fec6
parentd63519e3cf203d04f73eb7ae8eb466882543796e
staging: iio: ad9951: 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/ad9951.c