gpio: tegra: add tegra_is_gpio
authoraghuge <aghuge@nvidia.com>
Tue, 4 Dec 2012 11:36:27 +0000 (16:36 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 19:46:17 +0000 (12:46 -0700)
commit042d5a13220db6ad0e67e3cf6d63696ba1457b24
treee89b48c45942495706187d6fbce2de01c1ea814b
parent4c906a49acac2a625bf60272607f9e86fd9eb960
gpio: tegra: add tegra_is_gpio

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

Bug 1172972

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