WSL2-Linux-Kernel/drivers/clk
Mike Turquette d1302a36a7 clk: core: copy parent_names & return error codes
This patch cleans up clk_register and solves a few bugs by teaching
clk_register and __clk_init to return error codes (instead of just NULL)
to better align with the existing clk.h api.

Along with that change this patch also introduces a new behavior whereby
clk_register copies the parent_names array, thus allowing platforms to
declare their parent_names arrays as __initdata.

Signed-off-by: Mike Turquette <mturquette@linaro.org>
2012-04-24 16:37:39 -07:00
..
Kconfig clk: make CONFIG_COMMON_CLK invisible 2012-03-19 09:37:11 +00:00
Makefile clk: basic clock hardware types 2012-03-16 20:35:02 +00:00
clk-divider.c clk: add "const" for clk_ops of basic clks 2012-04-24 16:37:38 -07:00
clk-fixed-rate.c clk: add "const" for clk_ops of basic clks 2012-04-24 16:37:38 -07:00
clk-gate.c clk: add "const" for clk_ops of basic clks 2012-04-24 16:37:38 -07:00
clk-mux.c clk: Constify parent name arrays 2012-04-24 16:37:39 -07:00
clk.c clk: core: copy parent_names & return error codes 2012-04-24 16:37:39 -07:00
clkdev.c CLKDEV: Fix clkdev return value for NULL clk case 2011-04-30 10:14:08 +01:00