staging: iio: ad2s1200: 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:22 +0000 (21:07 +0000)
commit794a870e776717ccbd27676a551250613de9c40c
treee2061ba59ff905d153d50af4cb1a3c1a64dd5762
parent8664ed09aa63af9841da97645f42ff12ae39dd65
staging: iio: ad2s1200: 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/resolver/ad2s1200.c