clk: mmp: pxa168: fix return value check in pxa168_clk_init()
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 17 Sep 2016 15:54:28 +0000 (15:54 +0000)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 2 Nov 2016 00:41:20 +0000 (17:41 -0700)
commitdeab07261d54b4db7b627d38e0efac97f176c6d6
treeb27531a3c3696c57d4591d191678810c5d7b4bac
parenta29e52a6e66f4c0c895e7083e4bad2e7957f1fb5
clk: mmp: pxa168: fix return value check in pxa168_clk_init()

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

Fixes: ab08aefcd12d ("clk: mmp: add pxa168 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-pxa168.c