gpio: tegra: Fix definition of TEGRA_GPIO_INVALID
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 17 Jan 2013 12:56:12 +0000 (17:56 +0530)
committerMandar Padmawar <mpadmawar@nvidia.com>
Mon, 28 Jan 2013 07:47:51 +0000 (23:47 -0800)
commit009d7eb3fa5945f4521a53eaa2234eba754eccaf
tree933620ad706e5b1e71ac1450983345fc10d42151
parentcf872e7714d00e7d8d92677703eb474cbb458202
gpio: tegra: Fix definition of TEGRA_GPIO_INVALID

Make the TEGRA_GPIO_INVALID is -ve so that gpio_is_valid() return false
with this argument.

bug 1214078

Change-Id: I89b1c9c8fd73640f001a83431a54ff46b5c68e4f
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/192051
Reviewed-by: Automatic_Commit_Validation_User
arch/arm/mach-tegra/gpio-names.h
arch/arm/mach-tegra/pinmux-t11-tables.c
arch/arm/mach-tegra/pinmux-tegra20-tables.c
arch/arm/mach-tegra/pinmux-tegra30-tables.c