Staging: hv: mousevsc: Cleanup alloc_input_device()
authorK. Y. Srinivasan <kys@microsoft.com>
Thu, 29 Sep 2011 18:54:54 +0000 (11:54 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 4 Oct 2011 17:39:34 +0000 (10:39 -0700)
commitbdbbdb2d63fe340935ec6521da62fe9e73d8dc15
treeb34df01dd0bfb3a5563f0515029453ec47b1b907
parentc5b71fc71fc7cdee68614d37826ed46db9be2006
Staging: hv: mousevsc: Cleanup alloc_input_device()

Cleanup alloc_input_device(); you can directly set the reference count.

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