Re: [PATCH 3/6] clk: rockchip: don't return NULL when registering inverter fails

2016-02-15 Thread Heiko Stuebner
Am Montag, 15. Februar 2016, 11:33:33 schrieb Shawn Lin: > Avoid return NULL if rockchip_clk_register_inverter fails, otherwise > rockchip_clk_register_branches print "unknown clock type". The acutal > case is that it's a known clock type but we fail to regiser it, which > may makes user confuse th

[PATCH 3/6] clk: rockchip: don't return NULL when registering inverter fails

2016-02-14 Thread Shawn Lin
Avoid return NULL if rockchip_clk_register_inverter fails, otherwise rockchip_clk_register_branches print "unknown clock type". The acutal case is that it's a known clock type but we fail to regiser it, which may makes user confuse the reason of failure. Signed-off-by: Shawn Lin --- drivers/clk