iio: adc: viperboard: 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:15 +0000 (21:07 +0000)
commit2191d0fba75c77efef8e4fd50641fb19772b72eb
tree58ebc140d978abeff39bdfdcf058e36e3bbdbd95
parent27b832427e060d4e963c610d07860e5dbe1daafa
iio: adc: viperboard: 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/adc/viperboard_adc.c