iio: adc: mcp3422: 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:12 +0000 (21:07 +0000)
commit2842d4cc729882489ae73dae48dfc63f5ce404ba
tree1bc1b64c70415b44cb56082424e9de0b36b4e17b
parenta7e57dce02ceb8212f106191fdfbc0fcb61ce9e0
iio: adc: mcp3422: 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/mcp3422.c