diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-01 21:26:05 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-01 21:31:55 -0700 |
commit | f576125dc872f28da2f89c29bfc73ec0ff02f7d9 (patch) | |
tree | 0dc3c99522b6817c9ee007992b3dabeb0623fae7 /drivers/input/joystick/iforce/iforce-packets.c | |
parent | 3b6aee237e889a189fd8c558207ca0e55818f744 (diff) | |
download | op-kernel-dev-f576125dc872f28da2f89c29bfc73ec0ff02f7d9.zip op-kernel-dev-f576125dc872f28da2f89c29bfc73ec0ff02f7d9.tar.gz |
USB: iforce: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/input/joystick/iforce/iforce-packets.c')
-rw-r--r-- | drivers/input/joystick/iforce/iforce-packets.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/input/joystick/iforce/iforce-packets.c b/drivers/input/joystick/iforce/iforce-packets.c index 68f5f1e..0d8f53b5 100644 --- a/drivers/input/joystick/iforce/iforce-packets.c +++ b/drivers/input/joystick/iforce/iforce-packets.c @@ -266,12 +266,14 @@ int iforce_get_id_packet(struct iforce *iforce, char *packet) iforce->ctrl->status != -EINPROGRESS, HZ); if (iforce->ctrl->status) { - dbg("iforce->ctrl->status = %d", iforce->ctrl->status); + dev_dbg(&iforce->dev->dev, + "iforce->ctrl->status = %d\n", + iforce->ctrl->status); usb_unlink_urb(iforce->ctrl); return -1; } #else - dbg("iforce_get_id_packet: iforce->bus = USB!"); + printk(KERN_DEBUG "iforce_get_id_packet: iforce->bus = USB!\n"); #endif } break; |