staging: iio: adis16203: 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)
commit69fad8aa4dc81e04427faf2a9a43a615fb618cb2
treeb0e8d46ddd09fb60336d98e71fd4a1a9ff324344
parentf7448349609b8defa856f0920f56f3e3c8bf0dd5
staging: iio: adis16203: 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/adis16203_core.c