pata_arasan_cf: add missing clk_disable_unprepare() on error path
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 21 Nov 2013 03:07:09 +0000 (11:07 +0800)
committerTejun Heo <tj@kernel.org>
Fri, 22 Nov 2013 22:38:31 +0000 (17:38 -0500)
commit6c9e1499861f34919beb279ea8c7a40378486a24
tree9339c035bcc7a5efad916ac956a9efd78be08a72
parent2435dcb98cfe13c246aa27df393e22bc24bbcd20
pata_arasan_cf: add missing clk_disable_unprepare() on error path

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

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/ata/pata_arasan_cf.c