iio: adc: lp8788_adc: Use devm_* APIs
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 23 Jul 2013 08:58:00 +0000 (09:58 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 Aug 2013 17:40:40 +0000 (18:40 +0100)
commit8483aa5e0f0a4bdf8bdc54d83397715c7adb762d
treebcae99c73760953ef5a730d6419a7609777a8385
parente59576d4beaf232d1048bac391393c94b1b00745
iio: adc: lp8788_adc: Use devm_* APIs

devm_* APIs are device managed and make code simpler.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Milo Kim <milo.kim@ti.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/lp8788_adc.c