staging: unisys: refactor ULTRA_VBUS_CHANNEL_OK_SERVER
authorBenjamin Romer <benjamin.romer@unisys.com>
Thu, 23 Oct 2014 18:31:08 +0000 (14:31 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Oct 2014 02:33:15 +0000 (10:33 +0800)
Fix the name to SPAR_VBUS_CHANNEL_OK_SERVER and fix the CamelCase parameter:

actualBytes => actual_bytes

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/common-spar/include/channels/vbuschannel.h

index c1a73df..873ba76 100644 (file)
@@ -51,11 +51,11 @@ static const uuid_le spar_vbus_channel_protocol_uuid =
                                  SPAR_VBUS_CHANNEL_PROTOCOL_VERSIONID, \
                                  SPAR_VBUS_CHANNEL_PROTOCOL_SIGNATURE)
 
-#define ULTRA_VBUS_CHANNEL_OK_SERVER(actualBytes)    \
+#define SPAR_VBUS_CHANNEL_OK_SERVER(actual_bytes)    \
        (spar_check_channel_server(spar_vbus_channel_protocol_uuid,     \
                                   "vbus",                              \
                                   sizeof(struct ultra_vbus_channel_protocol),\
-                                  actualBytes))
+                                  actual_bytes))
 
 #pragma pack(push, 1)          /* both GCC and VC now allow this pragma */
 typedef struct _ULTRA_VBUS_HEADERINFO {