diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-09-29 04:59:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 12:18:05 -0400 |
commit | 6299a2dec89d22940e36832f15c0addfb77e6910 (patch) | |
tree | 504cff1e9d845bf4364bf6afdc16491650d63126 | |
parent | c8ad9681fdec37ad298da6d505f9baba61e5f15c (diff) |
[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>
-rw-r--r-- | drivers/char/pc8736x_gpio.c | 10 |
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) | |||
188 | pc8736x_gpio_shadow[port] = val; | 188 | pc8736x_gpio_shadow[port] = val; |
189 | } | 189 | } |
190 | 190 | ||
191 | static void pc8736x_gpio_set_high(unsigned index) | ||
192 | { | ||
193 | pc8736x_gpio_set(index, 1); | ||
194 | } | ||
195 | |||
196 | static void pc8736x_gpio_set_low(unsigned index) | ||
197 | { | ||
198 | pc8736x_gpio_set(index, 0); | ||
199 | } | ||
200 | |||
201 | static int pc8736x_gpio_current(unsigned minor) | 191 | static int pc8736x_gpio_current(unsigned minor) |
202 | { | 192 | { |
203 | int port, bit; | 193 | int port, bit; |