Skip to contentSkip to conversation

gpio: spear_gpio: Remove unused gpio_toggle_value() function

PATCH New Axel Lin 1 participant 1 message Jun 30, 2013 GPIO

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 gpio: spear_gpio: Remove unused gpio_toggle_value() function

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

---
 drivers/gpio/spear_gpio.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/gpio/spear_gpio.c +0 -5
index d3c728e..5b5521e 100644
@@ -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);
Signature · 1 line
1.8.1.2