iio: frequency: adf4350: add missing clk_disable_unprepare() on error in adf4350_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sat, 12 Oct 2013 06:46:00 +0000 (07:46 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 12 Oct 2013 12:20:46 +0000 (13:20 +0100)
commit00bfacfeb4a70053527b2b9ba2eb09ce0be0c1a4
tree07e76ce5eeb924133ee636e5443795cbe573fb89
parentd0e639c9e06d44e713170031fe05fb60ebe680af
iio: frequency: adf4350: add missing clk_disable_unprepare() on error in adf4350_probe()

Add the missing clk_disable_unprepare() before return
from adf4350_probe() in the error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Lars-Peter CLausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/frequency/adf4350.c