diff options
author | Lucas Stach <dev@lynxeye.de> | 2013-12-03 20:56:58 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-12-04 14:59:39 +0100 |
commit | 1f52d7158798799aa4969e2c9e02b0179b4dc748 (patch) | |
tree | 66bb28baa65a70bfafa131cf9e638dd3ca770ae1 /drivers/gpio | |
parent | fbe8c22a2f9bae3422b615e28ab86a0892284637 (diff) | |
download | barebox-1f52d7158798799aa4969e2c9e02b0179b4dc748.tar.gz barebox-1f52d7158798799aa4969e2c9e02b0179b4dc748.tar.xz |
gpio: tegra: remove leftover debug code
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpio-tegra.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c index 1e00f5ecc6..e84c71a234 100644 --- a/drivers/gpio/gpio-tegra.c +++ b/drivers/gpio/gpio-tegra.c @@ -106,12 +106,10 @@ static int tegra_gpio_get(struct gpio_chip *chip, unsigned offset) { /* If gpio is in output mode then read from the out value */ if ((tegra_gpio_readl(GPIO_OE(offset)) >> GPIO_BIT(offset)) & 1) { - printf("GPIO output mode\n"); return (tegra_gpio_readl(GPIO_OUT(offset)) >> GPIO_BIT(offset)) & 0x1; } - printf("GPIO input mode\n"); return (tegra_gpio_readl(GPIO_IN(offset)) >> GPIO_BIT(offset)) & 0x1; } |