]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: unisys: visorbus: vbuschannel.h: Fix #define formatting
authorDavid Binder <david.binder@unisys.com>
Fri, 17 Mar 2017 15:27:21 +0000 (11:27 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Mar 2017 06:58:47 +0000 (07:58 +0100)
In an effort to create a more uniform coding style within the Unisys
s-Par driver set, this patch adjusts the formatting of all #define
directives within this source file to match the following template,
and thereby eliminate irregular usage of whitespace:
Reviewed-by: Tim Sell <timothy.sell@unisys.com>
The amount of whitespace used between the <token> and the <value> is
dependent on what is needed to make the surrounding #define directives
as uniform as possible.

Signed-off-by: David Binder <david.binder@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/vbuschannel.h

index 408bb3a1cbfff1cbb9cd75ea50f45267771a8073..447fef25c11b9eede2631b9d8bd6c60a84c3c011 100644 (file)
@@ -28,8 +28,8 @@
 
 /* {193b331b-c58f-11da-95a9-00e08161165f} */
 #define SPAR_VBUS_CHANNEL_PROTOCOL_UUID \
-               UUID_LE(0x193b331b, 0xc58f, 0x11da, \
-                               0x95, 0xa9, 0x0, 0xe0, 0x81, 0x61, 0x16, 0x5f)
+       UUID_LE(0x193b331b, 0xc58f, 0x11da, \
+               0x95, 0xa9, 0x0, 0xe0, 0x81, 0x61, 0x16, 0x5f)
 static const uuid_le spar_vbus_channel_protocol_uuid =
        SPAR_VBUS_CHANNEL_PROTOCOL_UUID;
 
@@ -43,13 +43,13 @@ static const uuid_le spar_vbus_channel_protocol_uuid =
  */
 #define SPAR_VBUS_CHANNEL_PROTOCOL_VERSIONID 1
 
-#define SPAR_VBUS_CHANNEL_OK_CLIENT(ch)       \
-       spar_check_channel_client(ch,                           \
-                                  spar_vbus_channel_protocol_uuid,     \
-                                  "vbus",                              \
-                                  sizeof(struct spar_vbus_channel_protocol),\
-                                  SPAR_VBUS_CHANNEL_PROTOCOL_VERSIONID, \
-                                  SPAR_VBUS_CHANNEL_PROTOCOL_SIGNATURE)
+#define SPAR_VBUS_CHANNEL_OK_CLIENT(ch) \
+       spar_check_channel_client(ch, \
+                                 spar_vbus_channel_protocol_uuid, \
+                                 "vbus", \
+                                 sizeof(struct spar_vbus_channel_protocol), \
+                                 SPAR_VBUS_CHANNEL_PROTOCOL_VERSIONID, \
+                                 SPAR_VBUS_CHANNEL_PROTOCOL_SIGNATURE)
 
 /*
  * An array of this struct is present in the channel area for each vbus.