iio: amplifiers: ad8366: Use devm_* APIs
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 30 Jul 2013 06:24:00 +0000 (07:24 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 Aug 2013 20:00:15 +0000 (21:00 +0100)
commit36db8c72169489eedca06fe308b1643256d8c4fe
tree159c424589bbc8a819fa7dc88cfb7754a03f255b
parent1003eb67baf00cca8aa51f5833090c61938aa82e
iio: amplifiers: ad8366: Use devm_* APIs

devm_* APIs are device managed and make code simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Michael Hennerich <hennerich@blackfin.uclinux.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/amplifiers/ad8366.c