summaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/hv_mouse.c
diff options
context:
space:
mode:
authorK. Y. Srinivasan2011-03-07 22:21:47 +0100
committerGreg Kroah-Hartman2011-03-07 23:14:10 +0100
commit94851c343d1f98f866760c96a8956e30b07e579c (patch)
tree5efbf044e53dea78fda802b4a2b700b41fa2cdac /drivers/staging/hv/hv_mouse.c
parentStaging: hv: Use generic device_driver probe function (diff)
downloadkernel-qcow2-linux-94851c343d1f98f866760c96a8956e30b07e579c.tar.gz
kernel-qcow2-linux-94851c343d1f98f866760c96a8956e30b07e579c.tar.xz
kernel-qcow2-linux-94851c343d1f98f866760c96a8956e30b07e579c.zip
Staging: hv: Use generic device_driver remove function
In preparation for moving all the state from struct driver_context to struct hv_driver, eliminate the remove() function from struct driver_context and use generic device_driver remove() function. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Abhishek Kane <v-abkane@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/hv_mouse.c')
-rw-r--r--drivers/staging/hv/hv_mouse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c
index 4a25f3b8770d..6e2a937df4e3 100644
--- a/drivers/staging/hv/hv_mouse.c
+++ b/drivers/staging/hv/hv_mouse.c
@@ -1022,7 +1022,7 @@ static int __init mousevsc_init(void)
sizeof(struct hv_guid));
drv_ctx->driver.probe = mousevsc_probe;
- drv_ctx->remove = mousevsc_remove;
+ drv_ctx->driver.remove = mousevsc_remove;
/* The driver belongs to vmbus */
vmbus_child_driver_register(drv_ctx);