iio: adc: ad7298: 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:38 +0000 (18:40 +0100)
commit7abe9007ca671bf27799922711d8c023bac56a88
tree233ab0ee4594589e5c70fad27751bf162222ed64
parentded4fef934768adee9d31f15831513d7d76c360b
iio: adc: ad7298: 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/ad7298.c