Skip to content

Commit

Permalink
isdn/gigaset: use gig_dbg() for debugging output
Browse files Browse the repository at this point in the history
The "TTY buffer in tty_port" patchset introduced an opencoded
debug message in the Gigaset tty device if_close() function.
Change it to use the gig_dbg() macro like everywhere else in
the driver.

Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Cc: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Tilman Schmidt authored and Greg Kroah-Hartman committed Apr 9, 2012
1 parent 388bc26 commit ef37ea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/isdn/gigaset/interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ static void if_close(struct tty_struct *tty, struct file *filp)
struct cardstate *cs = tty->driver_data;

if (!cs) { /* happens if we didn't find cs in open */
printk(KERN_DEBUG "%s: no cardstate\n", __func__);
gig_dbg(DEBUG_IF, "%s: no cardstate", __func__);
return;
}

Expand Down

0 comments on commit ef37ea3

Please sign in to comment.