[PATCH -next] clk: keystone: fix return value check in _of_pll_clk_init()

2013-10-31 Thread Wei Yongjun
From: Wei Yongjun clk_register_pll() returns ERR_PTR() when memory alloc fail and NULL in the other case, the user of this function should used IS_ERR_OR_NULL() to check the return value. this patch change clk_register_pll() to return only ERR_PTR(), and also fixed the user. Signed-off-by: Wei

[PATCH -next] clk: keystone: fix return value check in _of_pll_clk_init()

2013-10-31 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn clk_register_pll() returns ERR_PTR() when memory alloc fail and NULL in the other case, the user of this function should used IS_ERR_OR_NULL() to check the return value. this patch change clk_register_pll() to return only ERR_PTR(), and also fixed