]> git.openfabrics.org - ~emulex/infiniband.git/commit
USB: input: gtco.c: fix up dev_err() usage
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 May 2012 00:57:00 +0000 (20:57 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 May 2012 00:57:00 +0000 (20:57 -0400)
commit88d5ab3a1817bcfe192ae79ef85ef3fb3e8c6669
tree29a4562b749e2ef7912779e724e89b3ea2c4e5a7
parent383c52f3388b5ddb2fbf1ec073081bc9c4bdfeff
USB: input: gtco.c: fix up dev_err() usage

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/tablet/gtco.c