Commit 6299a2de authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] drivers/char/pc8736x_gpio.c: remove unused static functions

drivers/char/pc8736x_gpio.c:192: warning: #pc8736x_gpio_set_high# defined but not used
drivers/char/pc8736x_gpio.c:197: warning: #pc8736x_gpio_set_low# defined but not used
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Acked-by: default avatarJim Cromie <jim.cromie@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent c8ad9681
...@@ -188,16 +188,6 @@ static void pc8736x_gpio_set(unsigned minor, int val) ...@@ -188,16 +188,6 @@ static void pc8736x_gpio_set(unsigned minor, int val)
pc8736x_gpio_shadow[port] = val; pc8736x_gpio_shadow[port] = val;
} }
static void pc8736x_gpio_set_high(unsigned index)
{
pc8736x_gpio_set(index, 1);
}
static void pc8736x_gpio_set_low(unsigned index)
{
pc8736x_gpio_set(index, 0);
}
static int pc8736x_gpio_current(unsigned minor) static int pc8736x_gpio_current(unsigned minor)
{ {
int port, bit; int port, bit;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment