summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-gate.c
diff options
context:
space:
mode:
authorMike Turquette <mturquette@linaro.org>2012-03-30 01:30:40 +0400
committerMike Turquette <mturquette@linaro.org>2012-04-25 03:37:39 +0400
commitd1302a36a7f1c33d1a8babc6a510e1401a5e5aed (patch)
treebcb0d5f659a762764b75720fdada09ac9c548886 /drivers/clk/clk-gate.c
parentd305fb78f31209596c9135d396a0d3af7ac86947 (diff)
downloadlinux-d1302a36a7f1c33d1a8babc6a510e1401a5e5aed.tar.xz
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>
Diffstat (limited to 'drivers/clk/clk-gate.c')
0 files changed, 0 insertions, 0 deletions