Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef37ea34 authored by Tilman Schmidt's avatar Tilman Schmidt Committed by Greg Kroah-Hartman
Browse files

isdn/gigaset: use gig_dbg() for debugging output



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: default avatarTilman Schmidt <tilman@imap.cc>
Cc: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 388bc262
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}