iio: gyro: adxrs450: 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:18 +0000 (21:07 +0000)
commit9bcbf02ae38abd45fecf618d6f648927bd12d34d
tree35a3fd5d08bab3ef132f4033f8ba604b2c71d6f1
parent79788b7c448e3afb94e440a84eb60e425551de42
iio: gyro: adxrs450: 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/adxrs450.c