From: Greg Kroah-Hartman Date: Thu, 3 Mar 2011 03:42:19 +0000 (-0800) Subject: Staging: hv: hv_mouse: get rid of hungarian notation for name of the module X-Git-Tag: MMI-PSA29.97-13-9~20521^2~284 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=92d40b769f2a98e949b6653d757c758e0a945baf;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Cc: K. Y. Srinivasan Cc: Haiyang Zhang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c index 0b10312ebe1d..a3a4f28e4803 100644 --- a/drivers/staging/hv/hv_mouse.c +++ b/drivers/staging/hv/hv_mouse.c @@ -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));