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 365760b33a26e1ea9ac7bae3a7c32f7f4bde9878..85116deeca9afcda7cbebd33d2b39652a461b123 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 ed4b901b0227405f3cd687f1a832cad4db808f22..7412b14580a0de9bd31f3b3cc7555d8236dcbd7f 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>;
                };
        };