iio: adc: ad7266: Use devm_* APIs
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 23 Jul 2013 06:50:00 +0000 (07:50 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 Aug 2013 17:40:38 +0000 (18:40 +0100)
commitded4fef934768adee9d31f15831513d7d76c360b
treeb9e59ada799b3c8d8ccc397d0a01cc1be8bb9c46
parent03eff7b60dc3e5d2539a5f9685a9fb9a530e01e8
iio: adc: ad7266: 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/ad7266.c