Skip to content

Commit

Permalink
Staging: hv: hv_mouse: get rid of hungarian notation for name of the …
Browse files Browse the repository at this point in the history
…module

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>
  • Loading branch information
Greg Kroah-Hartman committed Mar 3, 2011
1 parent 5ff9b90 commit 92d40b7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions drivers/staging/hv/hv_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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));

Expand Down

0 comments on commit 92d40b7

Please sign in to comment.