staging: iio: adis16201: Use devm_iio_device_alloc
authorSachin Kamat <sachin.kamat@linaro.org>
Sat, 24 Aug 2013 18:48:00 +0000 (19:48 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 28 Aug 2013 19:20:23 +0000 (20:20 +0100)
commitf7448349609b8defa856f0920f56f3e3c8bf0dd5
treecb4f4ffb23561d3877a0eb0ba9d071daa1f54ed7
parentfdadbce0da424c3f608576504f04e807217746a5
staging: iio: adis16201: Use devm_iio_device_alloc

Using 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/accel/adis16201_core.c