USB: input: powermate.c: fix up dev_err() usage
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 May 2012 00:56:45 +0000 (20:56 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 May 2012 00:56:45 +0000 (20:56 -0400)
commit6b37dbba5d5f4e167eb5ca57e43c1bd49a696831
treee8782da470ae2cb068bbca9fc674cf8fe99dbe70
parent3b449fe5d5585a43f26bda4c3d86b7677d4c80db
USB: input: powermate.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/misc/powermate.c