mirror of
https://github.com/torvalds/linux.git
synced 2026-12-04 12:24:18 +00:00
rockchip_clk_register_ddrclk should not return NULL when failing to call clk_register, otherwise rockchip_clk_register_branches prints "unknown clock type". The actual case is that it's a known clock type but we fail to register it, which may makes user confuse the reason of failure. And the pr_err here is pointless as rockchip_clk_register_branches will also print the similar message. Signed-off-by: Shawn Lin <[email protected]> Signed-off-by: Heiko Stuebner <[email protected]>