diff options
author | Jim Cromie <jim.cromie@gmail.com> | 2006-06-27 11:54:23 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-28 02:32:43 +0200 |
commit | f31000e573da052b6b8bcc21faff520b4e2eda7a (patch) | |
tree | 670d5e6e00da615f70d99a950cfe7b8603edad26 /drivers/char/tty_ioctl.c | |
parent | [PATCH] chardev: GPIO for SCx200 & PC-8736x: add platform_device for use w de... (diff) | |
download | linux-f31000e573da052b6b8bcc21faff520b4e2eda7a.tar.xz linux-f31000e573da052b6b8bcc21faff520b4e2eda7a.zip |
[PATCH] chardev: GPIO for SCx200 & PC-8736x: use dev_dbg in common module
Use of dev_dbg() and friends is considered good practice. dev_dbg() needs a
struct device *devp, but nsc_gpio is only a helper module, so it doesnt
have/need its own. To provide devp to the user-modules (scx200 & pc8736x
_gpio), we add it to the vtable, and set it during init.
Also squeeze nsc_gpio_dump()'s format a little.
[ 199.259879] pc8736x_gpio.0: io09: 0x0044 TS OD PUE EDGE LO DEBOUNCE
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/tty_ioctl.c')
0 files changed, 0 insertions, 0 deletions