summaryrefslogtreecommitdiffstats
path: root/drivers/char/scx200_gpio.c
diff options
context:
space:
mode:
authorJim Cromie <jim.cromie@gmail.com>2006-07-14 09:24:25 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-15 06:53:54 +0200
commit91e260b80d2fec559877f399dfc36b554f207874 (patch)
treed591ab15bb5ddd72d04c2c9b46666eb58259ed49 /drivers/char/scx200_gpio.c
parent[PATCH] Remove pci_dac_set_dma_mask() from Documentation/DMA-mapping.txt (diff)
downloadlinux-91e260b80d2fec559877f399dfc36b554f207874.tar.xz
linux-91e260b80d2fec559877f399dfc36b554f207874.zip
[PATCH] gpio: drop vtable members .gpio_set_high .gpio_set_low gpio_set is enough
drops gpio_set_high, gpio_set_low from the nsc_gpio_ops vtable. While we can't drop them from scx200_gpio (or can we?), we dont need them for new users of the exported vtable; gpio_set(1), gpio_set(0) work fine. Signed-off-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 'drivers/char/scx200_gpio.c')
-rw-r--r--drivers/char/scx200_gpio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/scx200_gpio.c b/drivers/char/scx200_gpio.c
index dd1f997944e6..f65372b5a656 100644
--- a/drivers/char/scx200_gpio.c
+++ b/drivers/char/scx200_gpio.c
@@ -41,8 +41,6 @@ struct nsc_gpio_ops scx200_access = {
.gpio_dump = nsc_gpio_dump,
.gpio_get = scx200_gpio_get,
.gpio_set = scx200_gpio_set,
- .gpio_set_high = scx200_gpio_set_high,
- .gpio_set_low = scx200_gpio_set_low,
.gpio_change = scx200_gpio_change,
.gpio_current = scx200_gpio_current
};