diff options
author | Dan Willemsen <dwillemsen@nvidia.com> | 2013-01-12 15:43:42 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 12:45:11 -0700 |
commit | 602e39ad4d13d9162554f5d8e80abb58309fce05 (patch) | |
tree | 4c716c22d69935e401cfd718d4e1c8724cd4cde5 /drivers/gpio/gpio-tegra.c | |
parent | f3fb688215a67194332968b4ab48db1791646727 (diff) |
fixup mach-tegra: arm: tegra: power: lp0 wake enable modified
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Diffstat (limited to 'drivers/gpio/gpio-tegra.c')
-rw-r--r-- | drivers/gpio/gpio-tegra.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c index 2f602ce8fba8..5d43ac1e0035 100644 --- a/drivers/gpio/gpio-tegra.c +++ b/drivers/gpio/gpio-tegra.c @@ -119,10 +119,6 @@ int tegra_gpio_get_bank_int_nr(int gpio) { int bank; int irq; - if (gpio >= TEGRA_NR_GPIOS) { - pr_warn("%s : Invalid gpio ID - %d\n", __func__, gpio); - return -EINVAL; - } bank = gpio >> 5; irq = tegra_gpio_banks[bank].irq; return irq; |