staging: iio: ad7816: 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)
commit5404dc77266e3159486bd89a482d11e80a3b173e
tree8d7eb6e91a18ebaff2e69142be8ffb2e2f5ce6bf
parent8fb8125aa56de8f1618973cc3ae85ebde81bb656
staging: iio: ad7816: 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/adc/ad7816.c