From: Peter De Schrijver Date: Mon, 2 Sep 2013 12:22:02 +0000 (+0300) Subject: clk: tegra: common periph_clk_enb_refcnt and clks X-Git-Tag: cleanup-for-linus~7^4~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=343a607cb79259429afbb9820bf524d33084e66c;p=pandora-kernel.git clk: tegra: common periph_clk_enb_refcnt and clks This patch makes periph_clk_enb_refcnt a global array, dynamically allocated at boottime. It simplifies the macros somewhat and allows clocks common to several Tegra SoCs to be defined in a separate files. Also the clks array becomes global and dynamically allocated which allows the DT registration to be moved to a generic funcion. Signed-off-by: Peter De Schrijver --- Reading git-diff-tree failed