iio: gyro: adis16130: 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:17 +0000 (21:07 +0000)
commit79788b7c448e3afb94e440a84eb60e425551de42
tree5a2910d24b09e0f2443abf0c366e24bb4c4ded22
parent1baeec9c37e52e0f3744137981d47a1353353ae5
iio: gyro: adis16130: 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/iio/gyro/adis16130.c