From: Mike Turquette Date: Thu, 29 Mar 2012 21:30:40 +0000 (-0700) Subject: clk: core: copy parent_names & return error codes X-Git-Tag: v3.5-rc1~71^2~6^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1302a36a7f1c33d1a8babc6a510e1401a5e5aed;p=pandora-kernel.git 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 --- Reading git-diff-tree failed