[PATCH] chardev: GPIO for SCx200 & PC-8736x: migrate gpio_dump to common module
authorJim Cromie <jim.cromie@gmail.com>
Tue, 27 Jun 2006 09:54:20 +0000 (02:54 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 28 Jun 2006 00:32:43 +0000 (17:32 -0700)
commit0e41ef3c51ea7dbb764616f60a90700647fc8518
treefc55403cca82ed01da9d6a7fadbaf4329cf9beb2
parent1a66fdf083bf2b60c4d12feb970bc7373b59e33a
[PATCH] chardev: GPIO for SCx200 & PC-8736x: migrate gpio_dump to common module

Since the meaning of config-bits is the same for scx200 and pc8736x _gpios, we
can share a function to deliver this to user.  Since it is called via the
vtable, its also completely replaceable.  For now, we keep using printk...

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>
arch/i386/kernel/scx200.c
drivers/char/nsc_gpio.c
drivers/char/scx200_gpio.c