]> git.baikalelectronics.ru Git - kernel.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)
commite3694cecb3dc65d5365a828f70f074ed0904e870
tree29a4562b749e2ef7912779e724e89b3ea2c4e5a7
parente7a54061b85fbd126888d83acea26de3b0a7d531
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