clk: mmp: pxa910: fix return value check in pxa910_clk_init()
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 17 Sep 2016 15:55:56 +0000 (15:55 +0000)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 2 Nov 2016 00:41:20 +0000 (17:41 -0700)
commit10f2bfb092e3b49000526c02cfe8b2abbbdbb752
treee9c0b27310170fc5f4607bd60e6287e19bf3f8a9
parentdeab07261d54b4db7b627d38e0efac97f176c6d6
clk: mmp: pxa910: fix return value check in pxa910_clk_init()

Fix the retrn value check which testing the wrong variable
in pxa910_clk_init().

Fixes: 2bc61da9f7ff ("clk: mmp: add pxa910 DT support for clock driver")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/mmp/clk-of-pxa910.c