Staging: hv: mouse_drv: Directly assign the driver name
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 10 May 2011 14:56:12 +0000 (07:56 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 May 2011 20:49:29 +0000 (13:49 -0700)
Directly assign the driver name.

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

index 4475534320ab86f8dd940c5f51575d1ddc52cfaa..5f30e391832c558ba06788764309311c05214a2e 100644 (file)
@@ -997,7 +997,7 @@ static int __init mousevsc_init(void)
        /* Callback to client driver to complete the initialization */
        mouse_vsc_initialize(&input_drv_obj->base);
 
-       drv->driver.name = input_drv_obj->base.name;
+       drv->driver.name = driver_name;
 
        /* The driver belongs to vmbus */
        vmbus_child_driver_register(&drv->driver);