pci: tegra: use #address-/size-cells from DT
authorStephen Warren <swarren@nvidia.com>
Mon, 5 Oct 2015 23:00:41 +0000 (17:00 -0600)
committerTom Warren <twarren@nvidia.com>
Thu, 12 Nov 2015 16:21:05 +0000 (09:21 -0700)
commit223ddbcb09f6449d6d56ccacc4112ab61589fd29
treeac5d1239ed2c15717590619cc4ff96c255271b0e
parentbec05246f637d2c6f46e6b6a8073d4fa1d6141ec
pci: tegra: use #address-/size-cells from DT

The number of cells used by each entry in the DT ranges property is
determined by the #address-cells/#size-cells properties. Fix the code
to respect this.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
drivers/pci/pci_tegra.c