clk: tegra: simplify periph clock data
authorPeter De Schrijver <pdeschrijver@nvidia.com>
Thu, 22 Aug 2013 15:44:06 +0000 (18:44 +0300)
committerPeter De Schrijver <pdeschrijver@nvidia.com>
Tue, 26 Nov 2013 16:45:40 +0000 (18:45 +0200)
This patch determines the register bank for clock enable/disable and reset
based on the clock ID instead of hardcoding it in the tables describing the
clocks. This results in less data to be maintained in the tables, making the
code easier to understand. The full benefit of the change will be realized once
also other clocktypes will be table based.

Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>

No differences found