iio: dac: ad5421: 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:16 +0000 (21:07 +0000)
commit365736e77cb7facea72b212aaef66d88b8f38a8d
tree603fc4eb80e75eb3c4e5c24ad9d9f38c5f300397
parent2191d0fba75c77efef8e4fd50641fb19772b72eb
iio: dac: ad5421: 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/ad5421.c