]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: unisys: fix spacing in ULTRA_CHANNELCLI_STRING
authorBenjamin Romer <benjamin.romer@unisys.com>
Thu, 23 Oct 2014 18:29:54 +0000 (14:29 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Oct 2014 02:33:08 +0000 (10:33 +0800)
Remove all the extraneous spaces in typecasts in
ULTRA_CHANNELCLI_STRING().

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/channel.h

index f32ec8496b2286ebcff0ae402ad12af29d622955..c77e9c7afcd9d4607927500962c2c3da6fca932a 100644 (file)
@@ -76,21 +76,21 @@ ULTRA_CHANNELCLI_STRING(u32 v)
 {
        switch (v) {
        case CHANNELCLI_DETACHED:
-               return (const u8 *) ("DETACHED");
+               return (const u8 *)("DETACHED");
        case CHANNELCLI_DISABLED:
-               return (const u8 *) ("DISABLED");
+               return (const u8 *)("DISABLED");
        case CHANNELCLI_ATTACHING:
-               return (const u8 *) ("ATTACHING");
+               return (const u8 *)("ATTACHING");
        case CHANNELCLI_ATTACHED:
-               return (const u8 *) ("ATTACHED");
+               return (const u8 *)("ATTACHED");
        case CHANNELCLI_BUSY:
-               return (const u8 *) ("BUSY");
+               return (const u8 *)("BUSY");
        case CHANNELCLI_OWNED:
-               return (const u8 *) ("OWNED");
+               return (const u8 *)("OWNED");
        default:
                break;
        }
-       return (const u8 *) ("?");
+       return (const u8 *)("?");
 }
 
 #define ULTRA_CHANNELSRV_IS_READY(x)     ((x) == CHANNELSRV_READY)