iio: frequency: adf4350: Use devm_* APIs
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 22 Jul 2013 11:02:00 +0000 (12:02 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 Aug 2013 17:40:53 +0000 (18:40 +0100)
commita8b168a15f8d7b1c6ee54f486e51490634abe18f
tree638a3f63bba002c45a861922547e576f9f88d83c
parent6917e1d9af2c5087e933aa18f9117b95101d7cb1
iio: frequency: adf4350: Use devm_* APIs

devm_* APIs are device managed and make code simpler.
This also takes care of missing clk_put function calls implicitly.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/frequency/adf4350.c