iio: adc: ad7791: 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)
commiteb8fe60784ee6d8bbe32f635254f71fdc4a10727
treed3f2b624d108a846d15104d57692be3a392f259c
parent4ea454d2c1a38dd8c75a185019fea14ea34401b8
iio: adc: ad7791: 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/ad7791.c