staging: iio: adis16220: 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:25 +0000 (20:20 +0100)
commit1868171c5caef74996c3604146e60b976e249344
tree3c7645c5f974d90f347d4d47c20a12b390ef7362
parent864bf5cd86b3a91a6608929e5661947060ca160d
staging: iio: adis16220: 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/adis16220_core.c