lapb: Neaten debugging
authorJoe Perches <joe@perches.com>
Thu, 17 May 2012 10:25:49 +0000 (10:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 May 2012 22:45:20 +0000 (18:45 -0400)
commita508da6cc0093171833efb8376b00473f24221b9
treed2578008abfaf33a59da65a64b916c62ee79eedd
parenta5e371f61ad33c07b28e7c9b60c78d71fdd34e2a
lapb: Neaten debugging

Enable dynamic debugging and remove a bunch of #ifdef/#endifs.

Add a lapb_dbg(level, fmt, ...) macro and replace the
printk(KERN_DEBUG uses.
Add pr_fmt and remove embedded prefixes.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/lapb.h
net/lapb/lapb_iface.c
net/lapb/lapb_in.c
net/lapb/lapb_out.c
net/lapb/lapb_subr.c
net/lapb/lapb_timer.c