]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit8948143307bf7d513a5e800772225cf686343324
treeb0bd0cf7dbb571a3639abffac6307cd8ff693c34
parent6d8b8ab34243292a7891d7ddca3e2b8f8cf31f7a
[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