iio: dac: ad5755: 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:17 +0000 (21:07 +0000)
commit1baeec9c37e52e0f3744137981d47a1353353ae5
tree340a735f5d347cafe0e57465078967fd79a41a15
parent365736e77cb7facea72b212aaef66d88b8f38a8d
iio: dac: ad5755: 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/dac/ad5755.c