staging:vt6655:upc: Whitespace cleanups
authorJoe Perches <joe@perches.com>
Mon, 18 Mar 2013 17:45:07 +0000 (10:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Mar 2013 00:21:38 +0000 (17:21 -0700)
Neatening only.
git diff -w shows no differences.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/upc.h

index 9596fdef0e3cc01c5a7336c808c78090f8fdab0c..af641369430277ba39348380f3b12c43e3f0c225 100644 (file)
 
 #ifdef IO_MAP
 
-#define VNSvInPortB(dwIOAddress, pbyData) {                     \
-       *(pbyData) = inb(dwIOAddress);                              \
-}
+#define VNSvInPortB(dwIOAddress, pbyData) {    \
+               *(pbyData) = inb(dwIOAddress);  \
+       }
 
 
-#define VNSvInPortW(dwIOAddress, pwData) {                      \
-           *(pwData) = inw(dwIOAddress);                           \
-}
+#define VNSvInPortW(dwIOAddress, pwData) {     \
+               *(pwData) = inw(dwIOAddress);   \
+       }
 
-#define VNSvInPortD(dwIOAddress, pdwData) {                     \
-           *(pdwData) = inl(dwIOAddress);                          \
-}
+#define VNSvInPortD(dwIOAddress, pdwData) {    \
+               *(pdwData) = inl(dwIOAddress);  \
+       }
 
 
-#define VNSvOutPortB(dwIOAddress, byData) {                     \
-        outb(byData, dwIOAddress);                              \
-}
+#define VNSvOutPortB(dwIOAddress, byData) {    \
+               outb(byData, dwIOAddress);      \
+       }
 
 
-#define VNSvOutPortW(dwIOAddress, wData) {                      \
-        outw(wData, dwIOAddress);                               \
-}
+#define VNSvOutPortW(dwIOAddress, wData) {     \
+               outw(wData, dwIOAddress);       \
+       }
 
-#define VNSvOutPortD(dwIOAddress, dwData) {                     \
-        outl(dwData, dwIOAddress);                              \
-}
+#define VNSvOutPortD(dwIOAddress, dwData) {    \
+               outl(dwData, dwIOAddress);      \
+       }
 
 #else
 
 //
 
 
-#define VNSvInPortB(dwIOAddress, pbyData) {                     \
-       volatile unsigned char * pbyAddr = ((unsigned char *)(dwIOAddress));            \
-       *(pbyData) = readb(pbyAddr);                           \
-}
+#define VNSvInPortB(dwIOAddress, pbyData) {                            \
+               volatile unsigned char *pbyAddr = ((unsigned char *)(dwIOAddress)); \
+               *(pbyData) = readb(pbyAddr);                            \
+       }
 
 
-#define VNSvInPortW(dwIOAddress, pwData) {                      \
-       volatile unsigned short *pwAddr = ((unsigned short *)(dwIOAddress));             \
-       *(pwData) = readw(pwAddr);                             \
-}
+#define VNSvInPortW(dwIOAddress, pwData) {                             \
+               volatile unsigned short *pwAddr = ((unsigned short *)(dwIOAddress)); \
+               *(pwData) = readw(pwAddr);                              \
+       }
 
-#define VNSvInPortD(dwIOAddress, pdwData) {                     \
-       volatile unsigned long *pdwAddr = ((unsigned long *)(dwIOAddress));          \
-       *(pdwData) = readl(pdwAddr);                           \
-}
+#define VNSvInPortD(dwIOAddress, pdwData) {                            \
+               volatile unsigned long *pdwAddr = ((unsigned long *)(dwIOAddress)); \
+               *(pdwData) = readl(pdwAddr);                            \
+       }
 
 
-#define VNSvOutPortB(dwIOAddress, byData) {                     \
-    volatile unsigned char * pbyAddr = ((unsigned char *)(dwIOAddress));            \
-    writeb((unsigned char)byData, pbyAddr);                                                    \
-}
+#define VNSvOutPortB(dwIOAddress, byData) {                            \
+               volatile unsigned char *pbyAddr = ((unsigned char *)(dwIOAddress)); \
+               writeb((unsigned char)byData, pbyAddr);                 \
+       }
 
 
-#define VNSvOutPortW(dwIOAddress, wData) {                      \
-    volatile unsigned short *pwAddr = ((unsigned short *)(dwIOAddress));             \
-    writew((unsigned short)wData, pwAddr);                                                     \
-}
+#define VNSvOutPortW(dwIOAddress, wData) {                             \
+               volatile unsigned short *pwAddr = ((unsigned short *)(dwIOAddress)); \
+               writew((unsigned short)wData, pwAddr);                  \
+       }
 
-#define VNSvOutPortD(dwIOAddress, dwData) {                     \
-    volatile unsigned long *pdwAddr = ((unsigned long *)(dwIOAddress));          \
-    writel((unsigned long)dwData, pdwAddr);                                        \
-}
+#define VNSvOutPortD(dwIOAddress, dwData) {                            \
+               volatile unsigned long *pdwAddr = ((unsigned long *)(dwIOAddress)); \
+               writel((unsigned long)dwData, pdwAddr);                 \
+       }
 
 #endif
 
 // ALWAYS IO-Mapped IO when in 16-bit/32-bit environment
 //
 #define PCBvInPortB(dwIOAddress, pbyData) {     \
-           *(pbyData) = inb(dwIOAddress);          \
-}
+               *(pbyData) = inb(dwIOAddress);  \
+       }
 
 #define PCBvInPortW(dwIOAddress, pwData) {      \
-           *(pwData) = inw(dwIOAddress);           \
-}
+               *(pwData) = inw(dwIOAddress);   \
+       }
 
 #define PCBvInPortD(dwIOAddress, pdwData) {     \
-           *(pdwData) = inl(dwIOAddress);          \
-}
+               *(pdwData) = inl(dwIOAddress);  \
+       }
 
 #define PCBvOutPortB(dwIOAddress, byData) {     \
-        outb(byData, dwIOAddress);              \
-}
+               outb(byData, dwIOAddress);      \
+       }
 
 #define PCBvOutPortW(dwIOAddress, wData) {      \
-        outw(wData, dwIOAddress);               \
-}
+               outw(wData, dwIOAddress);       \
+       }
 
 #define PCBvOutPortD(dwIOAddress, dwData) {     \
-        outl(dwData, dwIOAddress);              \
-}
-
-
-#define PCAvDelayByIO(uDelayUnit) {             \
-    unsigned char byData;                       \
-    unsigned long ii;                           \
-                                                \
-    if (uDelayUnit <= 50) {                     \
-        udelay(uDelayUnit);                     \
-    }                                           \
-    else {                                      \
-        for (ii = 0; ii < (uDelayUnit); ii++)   \
-                    byData = inb(0x61);                                \
-    }                                           \
-}
+               outl(dwData, dwIOAddress);      \
+       }
+
+
+#define PCAvDelayByIO(uDelayUnit) {                            \
+               unsigned char byData;                           \
+               unsigned long ii;                               \
+                                                               \
+               if (uDelayUnit <= 50) {                         \
+                       udelay(uDelayUnit);                     \
+               }                                               \
+               else {                                          \
+                       for (ii = 0; ii < (uDelayUnit); ii++)   \
+                               byData = inb(0x61);             \
+               }                                               \
+       }
 
 
 /*---------------------  Export Classes  ----------------------------*/