diff options
author | Stefan Hajnoczi <stefanha@gmail.com> | 2012-11-11 13:52:24 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-13 15:05:03 -0800 |
commit | e00d33cb5de0c68ed95513d3b4f42f9e3697f8ee (patch) | |
tree | 68bcae9d17ecddd449dc080636ee232afb5748dd /drivers/staging/line6/driver.c | |
parent | e5603cbd7f6b8d8ec6a59d3ce11c3fa28ef2a733 (diff) |
staging: line6: replace DEBUG_MESSAGES() with dev_dbg()
The dyndbg feature allows dev_dbg() calls to be enabled/disabled at
runtime and is therefore more convenient than static debug log messages.
Use dev_dbg() instead of the line6-specific DEBUG_MESSAGES() macro.
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/line6/driver.c')
-rw-r--r-- | drivers/staging/line6/driver.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/line6/driver.c b/drivers/staging/line6/driver.c index ac11a3bd1bb..571f2ceceed 100644 --- a/drivers/staging/line6/driver.c +++ b/drivers/staging/line6/driver.c @@ -412,10 +412,8 @@ static void line6_data_received(struct urb *urb) if (done < urb->actual_length) { line6_midibuf_ignore(mb, done); - DEBUG_MESSAGES(dev_err - (line6->ifcdev, - "%d %d buffer overflow - message skipped\n", - done, urb->actual_length)); + dev_dbg(line6->ifcdev, "%d %d buffer overflow - message skipped\n", + done, urb->actual_length); } for (;;) { |