clk: mmp: mmp2: fix return value check in mmp2_clk_init()
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 17 Sep 2016 15:54:13 +0000 (15:54 +0000)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 2 Nov 2016 00:41:19 +0000 (17:41 -0700)
commita29e52a6e66f4c0c895e7083e4bad2e7957f1fb5
tree21359486616aec03a5930057d2f34c4a11ac5c92
parent7c1c5413a7bdf1c9adc8d979521f1b8286366aef
clk: mmp: mmp2: fix return value check in mmp2_clk_init()

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

Fixes: 1ec770d92a62 ("clk: mmp: add mmp2 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-mmp2.c