提交 6299a2de 编写于 作者: A Adrian Bunk 提交者: 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: NAdrian Bunk <bunk@stusta.de>
Acked-by: NJim Cromie <jim.cromie@gmail.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 c8ad9681
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册