From mboxrd@z Thu Jan 1 00:00:00 1970 From: Axel Lin Date: Sun, 30 Jun 2013 15:37:31 +0800 Subject: [U-Boot] [PATCH] gpio: spear_gpio: Remove unused gpio_toggle_value() function Message-ID: <1372577851.3971.0.camel@phoenix> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de There is no user calling this function, thus remove it. Signed-off-by: Axel Lin --- 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