gpio: tegra: add tegra_is_gpio
authoraghuge <aghuge@nvidia.com>
Tue, 4 Dec 2012 11:36:27 +0000 (16:36 +0530)
committerSimone Willett <swillett@nvidia.com>
Thu, 20 Dec 2012 23:03:42 +0000 (15:03 -0800)
commit7aeea222eb335388c784278045009bcf3a715001
tree95f69dc4039cb97eba28fddca3266b54b9bbee75
parentc27103c60370a1a62336a7e47a5d225d2c136acc
gpio: tegra: add tegra_is_gpio

Added tegra_is_gpio function to
return true if pin is configured as gpio

Bug 1172972

Signed-off-by: aghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/168285
(cherry picked from commit 312fc9fc203f77c2521a24991608511be0465695)

Change-Id: Ieac0af9a6ee000cbeb73e714395169799ae18e3b
Signed-off-by: aghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/172625
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
arch/arm/mach-tegra/include/mach/gpio-tegra.h
drivers/gpio/gpio-tegra.c