Staging: hv: mouse_drv: Directly assign the driver name

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>
This commit is contained in:
K. Y. Srinivasan 2011-05-10 07:56:12 -07:00 committed by Greg Kroah-Hartman
commit eb94b2f5e4

View 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);