ARM: tegra: use TEGRA_GPIO() in a couple more places
authorStephen Warren <swarren@nvidia.com>
Thu, 1 Aug 2013 18:26:01 +0000 (12:26 -0600)
committerStephen Warren <swarren@nvidia.com>
Thu, 1 Aug 2013 18:26:01 +0000 (12:26 -0600)
A couple of references to Tegra GPIO numbers were missed when cleaning
up the Tegra DT files. Convert them now.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/boot/dts/tegra20-seaboard.dts
arch/arm/boot/dts/tegra20-trimslice.dts

index 365760b..85116de 100644 (file)
                        regulator-min-microvolt = <5000000>;
                        regulator-max-microvolt = <5000000>;
                        enable-active-high;
-                       gpio = <&gpio 24 0>; /* PD0 */
+                       gpio = <&gpio TEGRA_GPIO(D, 0) 0>;
                };
        };
 
index ed4b901..7412b14 100644 (file)
                        regulator-min-microvolt = <5000000>;
                        regulator-max-microvolt = <5000000>;
                        enable-active-high;
-                       gpio = <&gpio 170 0>; /* PV2 */
+                       gpio = <&gpio TEGRA_GPIO(V, 2) 0>;
                };
        };