Staging: hv: mousevsc: Properly add the hid device
authorK. Y. Srinivasan <kys@microsoft.com>
Wed, 30 Nov 2011 16:52:23 +0000 (08:52 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Dec 2011 17:57:32 +0000 (09:57 -0800)
commitf75c0510784e9f6ce8808b01fb826d89d0ffbcd6
tree738c80ca21d146fd59767e5bb398bad3fc5e4cc0
parent0dcbcbb49e3e8636e2f9d8cbcbeea827c5c951d9
Staging: hv: mousevsc: Properly add the hid device

We need to properly add the hid device to correctly initialize the
sysfs state. While this patch is against the staging tree; Jiri,
please pick up this patch as you merge the Hyper-V mouse driver.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reported-by: Fuzhou Chen <fuzhouch@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/hv_mouse.c