[PATCH] Drivers: Staging: Fixed all the space issues

Matti Lammi mattij.lammi at gmail.com
Thu Jun 17 08:58:52 UTC 2010


Fixed all warning reported by the checkpatch.pl tool by removing unnecessary
spaces.

Signed-off-by: Matti Lammi <mattij.lammi at gmail.com>
---
 drivers/staging/otus/oal_marc.h |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/drivers/staging/otus/oal_marc.h b/drivers/staging/otus/oal_marc.h
index e7a9081..5ee677d 100644
--- a/drivers/staging/otus/oal_marc.h
+++ b/drivers/staging/otus/oal_marc.h
@@ -62,0 +62,0 @@

 /***** Byte order converting *****/
 #ifdef ZM_CONFIG_BIG_ENDIAN
-#define zmw_cpu_to_le32(v)    	(((v & 0xff000000) >> 24) | 	\
-				((v & 0x00ff0000) >> 8)  | 	\
-				((v & 0x0000ff00) << 8)  | 	\
+#define zmw_cpu_to_le32(v)    (((v & 0xff000000) >> 24) |	\
+			       ((v & 0x00ff0000) >> 8)  |	\
+			       ((v & 0x0000ff00) << 8)  |	\
 				((v & 0x000000ff) << 24))

-#define zmw_le32_to_cpu(v)    (((v & 0xff000000) >> 24) | 	\
-				((v & 0x00ff0000) >> 8) | 	\
-				((v & 0x0000ff00) << 8) | 	\
+#define zmw_le32_to_cpu(v)    (((v & 0xff000000) >> 24) |	\
+			       ((v & 0x00ff0000) >> 8) |	\
+			       ((v & 0x0000ff00) << 8) |	\
 				((v & 0x000000ff) << 24))

 #define zmw_cpu_to_le16(v)    (((v & 0xff00) >> 8) | \
@@ -101,0 +101,0 @@

 #define zmw_buf_readb(dev, buf, offset) zfwBufReadByte(dev, buf, offset)
 #define zmw_buf_readh(dev, buf, offset) zfwBufReadHalfWord(dev, buf, offset)
-#define zmw_buf_writeb(dev, buf, offset, value) 			\
+#define zmw_buf_writeb(dev, buf, offset, value)				\
 			zfwBufWriteByte(dev, buf, offset, value)
 #define zmw_buf_writeh(dev, buf, offset, value)				\
 			zfwBufWriteHalfWord(dev, buf, offset, value)
@@ -118,10 +118,9 @@
 	msg, (u32_t)val);
 #define zm_debug_msg_s(msg, val) printk(KERN_DEBUG "%s:%s%s\n", __func__, \
 	msg, val);
-#define zm_debug_msg_p(msg, val1, val2) do { 			\
+#define zm_debug_msg_p(msg, val1, val2) do {			\
 			printk(KERN_DEBUG "%s:%s%01ld.%02ld\n",	\
-						__func__, 	\
+			       __func__,				\
 			msg, (val1/val2), (((val1*100)/val2)%100));
 			} while (0)
 #define zm_dbg(S) printk S
--
1.6.0.4




More information about the devel mailing list