OSDN Git Service

USB: input: acecad.c: fix up dev_err() usage
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 May 2012 00:56:51 +0000 (20:56 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 May 2012 00:56:51 +0000 (20:56 -0400)
commitb30662c4721ea77ca5930dd60f3294cd1413067f
tree9d1f73bc99755d7976a7e56210f7ed914f4fd817
parent140b1230a19b65489317271da36465e42865f2e4
USB: input: acecad.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/acecad.c