staging: iio: adis16220: Use devm_iio_device_register
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 29 Oct 2013 11:39:00 +0000 (11:39 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sun, 24 Nov 2013 21:07:19 +0000 (21:07 +0000)
commit8fb8125aa56de8f1618973cc3ae85ebde81bb656
tree51e712cd4c725680b837d1b9e4866cc58de1ea8d
parent691dab4291f5df64e08d49529e3eafc481811555
staging: iio: adis16220: Use devm_iio_device_register

devm_iio_device_register simplifies the code.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/accel/adis16220_core.c