staging: iio: ad799x_core: 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:34 +0000 (21:50 +0100)
commit6a88fa48263117687cd592c2030b13bd95895391
tree5e4faf81fbef7e19ea0be1496291c4d0691e455f
parente5bf4f5b7d95ff7e6359df7845047dd9e6df6f3e
staging: iio: ad799x_core: 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/ad799x_core.c