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

login
register
mail settings
Submitter Axel Lin
Date June 30, 2013, 7:37 a.m.
Message ID <1372577851.3971.0.camel@phoenix>
Download mbox | patch
Permalink /patch/255870/
State Superseded
Delegated to: Albert ARIBAUD
Headers show

Comments

Axel Lin - June 30, 2013, 7:37 a.m.
There is no user calling this function, thus remove it.

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

Patch

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);