Re: [PATCH 4/6] clk: rockchip: don't return NULL when registering mmc branch fails

2016-02-15 Thread Heiko Stuebner
Am Montag, 15. Februar 2016, 11:33:41 schrieb Shawn Lin: > Avoid return NULL if rockchip_clk_register_mmc 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 rea

[PATCH 4/6] clk: rockchip: don't return NULL when registering mmc branch fails

2016-02-14 Thread Shawn Lin
Avoid return NULL if rockchip_clk_register_mmc 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/rock