[U-Boot] [PATCH] gpio: spear_gpio: Remove unused gpio_toggle_value() function

Axel Lin axel.lin at ingics.com
Sun Jun 30 09:37:31 CEST 2013


There is no user calling this function, thus remove it.

Signed-off-by: Axel Lin <axel.lin at ingics.com>
---
 drivers/gpio/spear_gpio.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/gpio/spear_gpio.c b/drivers/gpio/spear_gpio.c
index d3c728e..5b5521e 100644
--- a/drivers/gpio/spear_gpio.c
+++ b/drivers/gpio/spear_gpio.c
@@ -80,11 +80,6 @@ int gpio_free(unsigned gpio)
 	return 0;
 }
 
-void gpio_toggle_value(unsigned gpio)
-{
-	gpio_set_value(gpio, !gpio_get_value(gpio));
-}
-
 int gpio_direction_input(unsigned gpio)
 {
 	return gpio_direction(gpio, GPIO_DIRECTION_IN);
-- 
1.8.1.2





More information about the U-Boot mailing list