summaryrefslogtreecommitdiffstats
path: root/drivers/char/pc8736x_gpio.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-09-29 10:59:05 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-29 18:18:05 +0200
commit6299a2dec89d22940e36832f15c0addfb77e6910 (patch)
tree504cff1e9d845bf4364bf6afdc16491650d63126 /drivers/char/pc8736x_gpio.c
parent[PATCH] drivers/char/scx200_gpio.c: make code static (diff)
downloadlinux-6299a2dec89d22940e36832f15c0addfb77e6910.tar.xz
linux-6299a2dec89d22940e36832f15c0addfb77e6910.zip
[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: Adrian Bunk <bunk@stusta.de> Acked-by: Jim Cromie <jim.cromie@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
-rw-r--r--drivers/char/pc8736x_gpio.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/char/pc8736x_gpio.c b/drivers/char/pc8736x_gpio.c
index 84e5a68635f1..ecfaf180e5bd 100644
--- a/drivers/char/pc8736x_gpio.c
+++ b/drivers/char/pc8736x_gpio.c
@@ -188,16 +188,6 @@ static void pc8736x_gpio_set(unsigned minor, int 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)
{
int port, bit;