projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ff9b90
)
Staging: hv: hv_mouse: get rid of hungarian notation for name of the module
author
Greg Kroah-Hartman
<
[email protected]
>
Thu, 3 Mar 2011 03:42:19 +0000
(19:42 -0800)
committer
Greg Kroah-Hartman
<
[email protected]
>
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 <
[email protected]
>
Cc: K. Y. Srinivasan <
[email protected]
>
Cc: Haiyang Zhang <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/hv/hv_mouse.c
patch
|
blob
|
history
diff --git
a/drivers/staging/hv/hv_mouse.c
b/drivers/staging/hv/hv_mouse.c
index 0b10312ebe1d422b74d354dd39187d95589b34a3..a3a4f28e480346d0376d8db011427672573ad6c7 100644
(file)
--- 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 =
gDriverN
ame;
+ Driver->name =
driver_n
ame;
memcpy(&Driver->dev_type, &gMousevscDeviceType,
sizeof(struct hv_guid));