ARM: tegra: Fix some whitespace oddities
authorThierry Reding <thierry.reding@gmail.com>
Fri, 6 Dec 2013 15:27:12 +0000 (16:27 +0100)
committerStephen Warren <swarren@nvidia.com>
Mon, 16 Dec 2013 21:02:50 +0000 (14:02 -0700)
Some of the powergate code uses unusual spacing around == and has a tab
instead of a space before an opening parenthesis.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/powergate.c

index f6f5b54..d5f5bd2 100644 (file)
@@ -132,9 +132,9 @@ int tegra_powergate_remove_clamping(int id)
         * Tegra 2 has a bug where PCIE and VDE clamping masks are
         * swapped relatively to the partition ids
         */
-       if (id ==  TEGRA_POWERGATE_VDEC)
+       if (id == TEGRA_POWERGATE_VDEC)
                mask = (1 << TEGRA_POWERGATE_PCIE);
-       else if (id == TEGRA_POWERGATE_PCIE)
+       else if (id == TEGRA_POWERGATE_PCIE)
                mask = (1 << TEGRA_POWERGATE_VDEC);
        else
                mask = (1 << id);