staging: iio: ad7816: Use devm_* APIs
authorSachin Kamat <sachin.kamat@linaro.org>
Sat, 31 Aug 2013 17:12:00 +0000 (18:12 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 7 Sep 2013 20:50:32 +0000 (21:50 +0100)
commite5bf4f5b7d95ff7e6359df7845047dd9e6df6f3e
treeeba41c348a376cff4d448505d8de0a69dd56ed77
parent4f6b38c8bf8b721a1e6153004c2a0c7301620205
staging: iio: ad7816: Use devm_* APIs

devm_* APIs are device managed and make code simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/ad7816.c