Message ID | 1372577851.3971.0.camel@phoenix |
---|---|
State | Superseded |
Delegated to: | Albert ARIBAUD |
Headers | show |
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);
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(-)