staging: iio: adis16060: 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:21 +0000 (21:07 +0000)
commitf952a30c39ea6d1dd44a33af7532d3a043c0c6a3
tree90918843499bce4368c10ee7ff913d17d4e00add
parent334696bd603619bc001eb022e60c120fc8223ecb
staging: iio: adis16060: 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/gyro/adis16060_core.c