OSDN Git Service

USB: input: joystick: iforce: fix up dev_err() usages
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 May 2012 22:40:57 +0000 (18:40 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 May 2012 22:40:57 +0000 (18:40 -0400)
commitd331efdd993f4c392f5f63f970b3a55996e3a959
treeeb7c3afa7c4ad457f52520c9358fb51a646872e0
parentade749a6bde26511925c888d734c989c5bbec919
USB: input: joystick: iforce: fix up dev_err() usages

We should always reference the input device for dev_err(), not the USB
device.  Fix up the places where I got this wrong.

Reported-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/joystick/iforce/iforce-packets.c
drivers/input/joystick/iforce/iforce-usb.c