clk: tegra: common periph_clk_enb_refcnt and clks
authorPeter De Schrijver <pdeschrijver@nvidia.com>
Mon, 2 Sep 2013 12:22:02 +0000 (15:22 +0300)
committerPeter De Schrijver <pdeschrijver@nvidia.com>
Tue, 26 Nov 2013 16:46:18 +0000 (18:46 +0200)
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 <pdeschrijver@nvidia.com>

No differences found