ARM: tegra: pmc: convert PMC driver to support DT only
authorJoseph Lo <josephl@nvidia.com>
Thu, 28 Feb 2013 21:32:10 +0000 (21:32 +0000)
committerStephen Warren <swarren@nvidia.com>
Mon, 11 Mar 2013 20:29:44 +0000 (14:29 -0600)
commit291fde31a9e72ea81951f3f77444f61789276655
tree02aa98454f1fa711ca2999da1aec433f566fbf03
parent2b84e53beb236aec89b7ef87b4fc970f175e4feb
ARM: tegra: pmc: convert PMC driver to support DT only

The Tegra kernel only support boot from DT now. Clean up the PMC driver
to support DT only, that includes:

* remove the ifdef of CONFIG_OF
* replace the static mapping of PMC addr to map from DT

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/pmc.c