Staging: vt6655: Checkpatch fix: unnecessary whitespace
authorEmrys Bayliss <emrys@paradise.net.nz>
Thu, 15 Jan 2015 16:29:21 +0000 (03:29 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jan 2015 22:49:35 +0000 (14:49 -0800)
This patch fixes the following checkpatch.pl errors in mac.h:
ERROR: space prohibited before that ',' (ctx:WxW)

Signed-off-by: Emrys Bayliss <emrys@paradise.net.nz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/mac.h

index e1e7e10435f61f54dd35074fc009945cf3468ef2..0f1d4a509f877cd102ceac505165e2cf2702ffe0 100644 (file)
@@ -888,7 +888,7 @@ do {                                                                        \
        VNSvOutPortB(dwIoBase + MAC_REG_PAGE1SEL, 1)
 
 #define MACvReadMIBCounter(dwIoBase, pdwCounter)                       \
-       VNSvInPortD(dwIoBase + MAC_REG_MIBCNTR , pdwCounter)
+       VNSvInPortD(dwIoBase + MAC_REG_MIBCNTR, pdwCounter)
 
 #define MACvPwrEvntDisable(dwIoBase)                                   \
        VNSvOutPortW(dwIoBase + MAC_REG_WAKEUPEN0, 0x0000)
@@ -896,7 +896,7 @@ do {                                                                        \
 #define MACvEnableProtectMD(dwIoBase)                                  \
 do {                                                                   \
        unsigned long dwOrgValue;                                       \
-       VNSvInPortD(dwIoBase + MAC_REG_ENCFG , &dwOrgValue);            \
+       VNSvInPortD(dwIoBase + MAC_REG_ENCFG, &dwOrgValue);             \
        dwOrgValue = dwOrgValue | EnCFG_ProtectMd;                      \
        VNSvOutPortD(dwIoBase + MAC_REG_ENCFG, dwOrgValue);             \
 } while (0)
@@ -904,7 +904,7 @@ do {                                                                        \
 #define MACvDisableProtectMD(dwIoBase)                                 \
 do {                                                                   \
        unsigned long dwOrgValue;                                       \
-       VNSvInPortD(dwIoBase + MAC_REG_ENCFG , &dwOrgValue);            \
+       VNSvInPortD(dwIoBase + MAC_REG_ENCFG, &dwOrgValue);             \
        dwOrgValue = dwOrgValue & ~EnCFG_ProtectMd;                     \
        VNSvOutPortD(dwIoBase + MAC_REG_ENCFG, dwOrgValue);             \
 } while (0)
@@ -912,7 +912,7 @@ do {                                                                        \
 #define MACvEnableBarkerPreambleMd(dwIoBase)                           \
 do {                                                                   \
        unsigned long dwOrgValue;                                       \
-       VNSvInPortD(dwIoBase + MAC_REG_ENCFG , &dwOrgValue);            \
+       VNSvInPortD(dwIoBase + MAC_REG_ENCFG, &dwOrgValue);             \
        dwOrgValue = dwOrgValue | EnCFG_BarkerPream;                    \
        VNSvOutPortD(dwIoBase + MAC_REG_ENCFG, dwOrgValue);             \
 } while (0)
@@ -920,7 +920,7 @@ do {                                                                        \
 #define MACvDisableBarkerPreambleMd(dwIoBase)                          \
 do {                                                                   \
        unsigned long dwOrgValue;                                       \
-       VNSvInPortD(dwIoBase + MAC_REG_ENCFG , &dwOrgValue);            \
+       VNSvInPortD(dwIoBase + MAC_REG_ENCFG, &dwOrgValue);             \
        dwOrgValue = dwOrgValue & ~EnCFG_BarkerPream;                   \
        VNSvOutPortD(dwIoBase + MAC_REG_ENCFG, dwOrgValue);             \
 } while (0)
@@ -928,7 +928,7 @@ do {                                                                        \
 #define MACvSetBBType(dwIoBase, byTyp)                                 \
 do {                                                                   \
        unsigned long dwOrgValue;                                       \
-       VNSvInPortD(dwIoBase + MAC_REG_ENCFG , &dwOrgValue);            \
+       VNSvInPortD(dwIoBase + MAC_REG_ENCFG, &dwOrgValue);             \
        dwOrgValue = dwOrgValue & ~EnCFG_BBType_MASK;                   \
        dwOrgValue = dwOrgValue | (unsigned long)byTyp;                 \
        VNSvOutPortD(dwIoBase + MAC_REG_ENCFG, dwOrgValue);             \