public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] gpio: spear_gpio: Remove unused gpio_toggle_value() function
@ 2013-06-30  7:37 Axel Lin
  0 siblings, 0 replies; only message in thread
From: Axel Lin @ 2013-06-30  7:37 UTC (permalink / raw)
  To: u-boot

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

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-30  7:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-30  7:37 [U-Boot] [PATCH] gpio: spear_gpio: Remove unused gpio_toggle_value() function Axel Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox