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

Commit 6d0f7dcb authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

USB: kbtab.c: remove dbg() usage



dbg() was a very old USB-specific macro that should no longer
be used. This patch removes it from being used in the driver
and uses dev_dbg() instead.

CC: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c6f880a7
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -53,10 +53,12 @@ static void kbtab_irq(struct urb *urb)
	case -ENOENT:
	case -ESHUTDOWN:
		/* this urb is terminated, clean up */
		dbg("%s - urb shutting down with status: %d", __func__, urb->status);
		dev_dbg(&dev->dev, "%s - urb shutting down with status: %d\n",
			__func__, urb->status);
		return;
	default:
		dbg("%s - nonzero urb status received: %d", __func__, urb->status);
		dev_dbg(&dev->dev, "%s - nonzero urb status received: %d\n",
			__func__, urb->status);
		goto exit;
	}