staging: iio: lpc32xx_adc: 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:20 +0000 (21:07 +0000)
commitafb6fd5fca84c7ee4ba311f1c6e0479e705de330
tree4cb89848081c5ea55966aa0984bcbfa053b4c743
parent5404dc77266e3159486bd89a482d11e80a3b173e
staging: iio: lpc32xx_adc: 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/lpc32xx_adc.c