[PATCH] staging: r8188eu: fixed spacing code style warnings.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch fixes some warnings reported by checkpatch.

Signed-off-by: Jim Christian Haukvik <jchaukvik@xxxxxxxxx>
---
 drivers/staging/r8188eu/core/rtw_io.c | 42 +++++++++++++--------------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/drivers/staging/r8188eu/core/rtw_io.c b/drivers/staging/r8188eu/core/rtw_io.c
index cde0205816b1..5b2a421aed56 100644
--- a/drivers/staging/r8188eu/core/rtw_io.c
+++ b/drivers/staging/r8188eu/core/rtw_io.c
@@ -2,25 +2,25 @@
 /* Copyright(c) 2007 - 2011 Realtek Corporation. */
 
 /*
-
-The purpose of rtw_io.c
-
-a. provides the API
-
-b. provides the protocol engine
-
-c. provides the software interface between caller and the hardware interface
-
-Compiler Flag Option:
-
-USB:
-   a. USE_ASYNC_IRP: Both sync/async operations are provided.
-
-Only sync read/rtw_write_mem operations are provided.
-
-jackson@xxxxxxxxxxxxxx
-
-*/
+ *
+ * The purpose of rtw_io.c
+ *
+ * a. provides the API
+ *
+ * b. provides the protocol engine
+ *
+ * c. provides the software interface between caller and the hardware interface
+ *
+ * Compiler Flag Option:
+ *
+ * USB:
+ *	a. USE_ASYNC_IRP: Both sync/async operations are provided.
+ *
+ * Only sync read/rtw_write_mem operations are provided.
+ *
+ * jackson@xxxxxxxxxxxxxx
+ *
+ */
 
 #define _RTW_IO_C_
 #include "../include/osdep_service.h"
@@ -183,7 +183,7 @@ void _rtw_read_mem(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem)
 
 
 	if (adapter->bDriverStopped || adapter->bSurpriseRemoved)
-	     return;
+		return;
 	_read_mem = pintfhdl->io_ops._read_mem;
 	_read_mem(pintfhdl, addr, cnt, pmem);
 
@@ -213,7 +213,7 @@ void _rtw_read_port(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem)
 
 
 	if (adapter->bDriverStopped || adapter->bSurpriseRemoved)
-	     return;
+		return;
 
 	_read_port = pintfhdl->io_ops._read_port;
 
-- 
2.33.1





[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux