]> git.baikalelectronics.ru Git - kernel.git/commit
clk: basic: improve parent_names & return errors
authorMike Turquette <mturquette@linaro.org>
Tue, 27 Mar 2012 00:51:03 +0000 (17:51 -0700)
committerMike Turquette <mturquette@linaro.org>
Tue, 24 Apr 2012 23:37:39 +0000 (16:37 -0700)
commitf7b86dbb741a2aee57fe61a2d7b67a3455f8a85f
treeca3234eef7925fc068f6f55cd965abe21dfa399c
parent33783cba43d65907cbafa83a6b2b641c0bd1c5e6
clk: basic: improve parent_names & return errors

This patch is the basic clk version of 'clk: core: copy parent_names &
return error codes'.

The registration functions are changed to allow the core code to copy
the array of strings and allow platforms to declare those arrays as
__initdata.

This patch also converts all of the basic clk registration functions to
return error codes which better aligns them with the existing clk.h api.

Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-divider.c
drivers/clk/clk-fixed-rate.c
drivers/clk/clk-gate.c
drivers/clk/clk-mux.c
include/linux/clk-provider.h