]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
isdn/gigaset: use gig_dbg() for debugging output
authorTilman Schmidt <tilman@imap.cc>
Sun, 25 Mar 2012 17:12:37 +0000 (19:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Apr 2012 17:30:38 +0000 (10:30 -0700)
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>
drivers/isdn/gigaset/interface.c

index b3d6ac17272d2872c0afc7c3bf1b72497e67266b..a6d9fd2858f74d2b6690cfcf9c6edc832f641bb2 100644 (file)
@@ -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;
        }