UPSTREAM: clk: rockchip: fix cpuclk registration error handling
authorXing Zheng <zhengxing@rock-chips.com>
Thu, 26 May 2016 13:49:08 +0000 (21:49 +0800)
committerXing Zheng <zhengxing@rock-chips.com>
Fri, 27 May 2016 12:07:02 +0000 (20:07 +0800)
commit9608a83ed09cbd22c1681f68826153979df96f8b
tree9a7a5599c7ea0e0f413c2573ffa17cc8f1155627
parent0eb5c0bea937e7a1561350479be8e9f66c6bf8fb
UPSTREAM: clk: rockchip: fix cpuclk registration error handling

It maybe due to a copy-paste error the error handing should be
cclk not clk when checking if the cpuclk registration succeeded.

Reported-by: Lin Huang <lin.huang@rock-chips.com>
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
(cherry picked from git.kernel.org mmind/linux-rockchip.git
v4.7-clk/fixes commit df43cf8f1c116f26fcfd89ce9b1119929c732597)

Change-Id: I7d21808194c914e9117c498309e4b69861799318
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
drivers/clk/rockchip/clk-cpu.c