Staging: hv: hv_mouse: fix up remove() function
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 25 Aug 2011 23:51:28 +0000 (16:51 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 25 Aug 2011 23:51:28 +0000 (16:51 -0700)
commit6a180978aea7cb231c60b69b078ec339f40e2faa
tree73071704e9c63459fdcf774f9c9d52ddd6e726ef
parent4ab0871ddd1bfdc514f93472cfd68290ecdb62c0
Staging: hv: hv_mouse: fix up remove() function

This function obviously never worked, it was a cut-and-paste from the
probe() function.  Rewrite it to do what it is supposed to do at least
in theory.  As to if it works yet, well, it's not worse than it was
before, so this can't hurt.

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