iio: adc: ad7887: Use devm_* APIs
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 23 Jul 2013 08:58:00 +0000 (09:58 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 Aug 2013 17:40:40 +0000 (18:40 +0100)
commit82429e0d33ece550378852539827916cda0a6b69
tree42c233d87c3ab837999ce44bad327926e951aa54
parenta35801326bc12e5fec28f00a09bb2e8a7af8be38
iio: adc: ad7887: Use devm_* APIs

devm_* APIs are device managed and make code simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/ad7887.c