[PATCH] chardev: GPIO for SCx200 & PC-8736x: add 'v' command to device-file
authorJim Cromie <jim.cromie@gmail.com>
Tue, 27 Jun 2006 09:54:16 +0000 (02:54 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 28 Jun 2006 00:32:42 +0000 (17:32 -0700)
commit9550a339e1ab1709dd53d92a1b76eecae2df9f3c
treea5bea006ebb482c6f4468816486254c401803282
parentd424aa8744b7b7db1d32476ae6c8015d10eebe1c
[PATCH] chardev: GPIO for SCx200 & PC-8736x: add 'v' command to device-file

Add a new driver command: 'v' which calls gpio_dump() on the pin.  The output
goes to the log, like all other INFO messages in the original driver.  Giving
the user control over the feedback they 'need' is construed to be a
user-friendly feature, and allows us (later) to dial down many INFO messages
to DEBUG log-level.

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/scx200_gpio.c