Jim Cromie f31000e573 [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>
2006-06-27 17:32:43 -07:00
..
2006-06-25 10:01:16 -07:00
2006-06-23 07:43:06 -07:00
2006-05-03 20:05:41 -07:00
2006-06-20 01:21:29 -07:00
2006-06-26 18:35:02 +02:00
2006-06-27 17:32:39 -07:00
2006-06-27 17:32:39 -07:00
2006-06-27 17:32:39 -07:00
2006-06-19 13:06:05 +01:00
2006-06-27 17:32:39 -07:00
2006-06-27 17:32:39 -07:00
2006-06-27 17:32:40 -07:00
2006-06-27 17:32:39 -07:00
2006-06-27 17:32:39 -07:00
2006-06-27 17:32:39 -07:00
2006-03-23 07:38:16 -08:00
2006-06-27 17:32:39 -07:00
2006-06-23 07:43:06 -07:00
2006-06-17 21:18:43 -07:00