[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>
This commit is contained in:
parent
c8ad9681fd
commit
6299a2dec8
1 changed files with 0 additions and 10 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue