Staging: hv: hv_mouse: get rid of hungarian notation for name of the module
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 3 Mar 2011 03:42:19 +0000 (19:42 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 3 Mar 2011 03:42:19 +0000 (19:42 -0800)
And, it's not even a global, so the original creator got the Hungarian
notation wrong!  {sigh}

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

index 0b10312..a3a4f28 100644 (file)
@@ -188,10 +188,7 @@ struct mousevsc_dev {
 };
 
 
-/*
- * Globals
- */
-static const char *gDriverName = "mousevsc";
+static const char *driver_name = "mousevsc";
 
 /* {CFA8B69E-5B4A-4cc0-B98B-8BA1A1F3F95A} */
 static const struct hv_guid gMousevscDeviceType = {
@@ -1000,7 +997,7 @@ static int mouse_vsc_initialize(struct hv_driver *Driver)
                (struct mousevsc_drv_obj *)Driver;
        int ret = 0;
 
-       Driver->name = gDriverName;
+       Driver->name = driver_name;
        memcpy(&Driver->dev_type, &gMousevscDeviceType,
               sizeof(struct hv_guid));