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)
commit27d545915fd49cbe18a3877d82359896e9851efb
treeca3234eef7925fc068f6f55cd965abe21dfa399c
parentd1302a36a7f1c33d1a8babc6a510e1401a5e5aed
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