staging: iio: ad7291: 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:49:42 +0000 (21:49 +0100)
commit3e70bad95a3fd6829093018ca263dcf579b69183
tree8c2ba3d9d66484afa9a021cec345ed344e6dd1fd
parent0a2f0265b6dabab8342ac3374bcb47340d654e08
staging: iio: ad7291: 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/ad7291.c