[PATCH] chardev: GPIO for SCx200 & PC-8736x: put gpio_dump on a diet
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)
commitd424aa8744b7b7db1d32476ae6c8015d10eebe1c
treeb0bd0cf7dbb571a3639abffac6307cd8ff693c34
parent55b8c0455b8aeb80f94183fa3aa42e3fa62b1705
[PATCH] chardev: GPIO for SCx200 & PC-8736x: put gpio_dump on a diet

Shrink scx200_gpio_dump() to a single printk with ternary ops.  The function
is still ifdef'd out, this is corrected in next patch, when it is actually
used.

The patch 'inadvertently' changed loglevel from DEBUG to INFO.  This is Good,
because in next patch, its wired to a 'command' which the user can invoke when
they want.  When they do so, its because they want INFO to support their
developement effort, and we want to give it to them without compiling a DEBUG
version of the driver.

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