iio: dac: ad5791: Use devm_* APIs
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 19 Aug 2013 11:38:00 +0000 (12:38 +0100)
committerJonathan Cameron <jic23@kernel.org>
Mon, 19 Aug 2013 19:35:35 +0000 (20:35 +0100)
commit0d7c04d33f3e2f9e3da0a545be747731b4410e32
treeaf3ac1285f1f48bcc2e9bb7c291b8b620dca4b7e
parent7ff0de3faaeb0db80c2c9f03c119167e89594879
iio: dac: ad5791: Use devm_* APIs

devm_* APIs are device managed and make code simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/dac/ad5791.c