[PATCH 665/961] Staging: hv: hv_mouse: change camelcase for struct synthhid_msg

Greg Kroah-Hartman gregkh at suse.de
Wed Mar 16 14:05:08 PDT 2011


Turns out no one references the data field of this structure, so I
wonder if it's really even needed at all.  All this is used for is the
type of the message here, so this structure might be able to be dropped
entirely in the future.

Cc: Hank Janssen <hjanssen at microsoft.com>
Cc: K. Y. Srinivasan <kys at microsoft.com>
Cc: Haiyang Zhang <haiyangz at microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>
---
 drivers/staging/hv/hv_mouse.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c
index 49c0ad7..a80a159 100644
--- a/drivers/staging/hv/hv_mouse.c
+++ b/drivers/staging/hv/hv_mouse.c
@@ -89,7 +89,7 @@ struct synthhid_msg_hdr {
 
 struct synthhid_msg {
 	struct synthhid_msg_hdr header;
-	char                    Data[1]; /* Enclosed message */
+	char data[1]; /* Enclosed message */
 };
 
 union synthhid_version {
-- 
1.7.4.1



More information about the devel mailing list