iio: adc: ad7476: 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:39 +0000 (18:40 +0100)
commit4ea454d2c1a38dd8c75a185019fea14ea34401b8
tree707cda2213a3a889d2f838089da4175fcca9b146
parent7abe9007ca671bf27799922711d8c023bac56a88
iio: adc: ad7476: 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/ad7476.c