[PATCH v2 02/30] clk: export generic routines