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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Nov 2016 08:54:53 +0000 (09:54 +0100)
commita4709b4582acf5234fa6a4c6aef45822c223dfe5
treebc7c49f7d93c20f22310588c4739021a6ae5ffb3
parentd039fc37ec7ff0b74eb1a525e1654bf68c19cc54
clk: mmp: pxa910: fix return value check in pxa910_clk_init()

commit 10f2bfb092e3b49000526c02cfe8b2abbbdbb752 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/mmp/clk-of-pxa910.c