Staging: hv: hv_mouse: get rid of hungarian notation for name of the 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>
This commit is contained in:
@@ -188,10 +188,7 @@ struct mousevsc_dev {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/*
|
static const char *driver_name = "mousevsc";
|
||||||
* Globals
|
|
||||||
*/
|
|
||||||
static const char *gDriverName = "mousevsc";
|
|
||||||
|
|
||||||
/* {CFA8B69E-5B4A-4cc0-B98B-8BA1A1F3F95A} */
|
/* {CFA8B69E-5B4A-4cc0-B98B-8BA1A1F3F95A} */
|
||||||
static const struct hv_guid gMousevscDeviceType = {
|
static const struct hv_guid gMousevscDeviceType = {
|
||||||
@@ -1000,7 +997,7 @@ static int mouse_vsc_initialize(struct hv_driver *Driver)
|
|||||||
(struct mousevsc_drv_obj *)Driver;
|
(struct mousevsc_drv_obj *)Driver;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
Driver->name = gDriverName;
|
Driver->name = driver_name;
|
||||||
memcpy(&Driver->dev_type, &gMousevscDeviceType,
|
memcpy(&Driver->dev_type, &gMousevscDeviceType,
|
||||||
sizeof(struct hv_guid));
|
sizeof(struct hv_guid));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user