]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita64a5f644ee061d0989a3b1c93d427c87ff0c8ac
treeeb7c3afa7c4ad457f52520c9358fb51a646872e0
parent0aedd1562f1a330ceb347335b883ddc776350f72
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