]> 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)
commit3f5d08ba957fc81573af922b47218a0026a7b555
treeeb7c3afa7c4ad457f52520c9358fb51a646872e0
parentdb9b25d61b137063f5e532f90e00938e45c9f0ec
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