[U-Boot] [PATCH 1/2] gpio: tegra: remove unused type

Stephen Warren swarren at wwwdotorg.org
Fri Sep 25 18:44:07 CEST 2015


From: Stephen Warren <swarren at nvidia.com>

These enum values aren't used anywhere. Remove them.

Signed-off-by: Stephen Warren <swarren at nvidia.com>
---
This series depends on my previous "ARM: tegra: don't enable GPIOs
until direction is set"

 drivers/gpio/tegra_gpio.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/drivers/gpio/tegra_gpio.c b/drivers/gpio/tegra_gpio.c
index 2dfd02d62053..f9c06fe88b71 100644
--- a/drivers/gpio/tegra_gpio.c
+++ b/drivers/gpio/tegra_gpio.c
@@ -25,13 +25,6 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-enum {
-	TEGRA_CMD_INFO,
-	TEGRA_CMD_PORT,
-	TEGRA_CMD_OUTPUT,
-	TEGRA_CMD_INPUT,
-};
-
 struct tegra_gpio_platdata {
 	struct gpio_ctlr_bank *bank;
 	const char *port_name;	/* Name of port, e.g. "B" */
-- 
1.9.1



More information about the U-Boot mailing list