[PATCH] staging: rtl8192u: r8192U_wx.h is now checkpatch-conform

Patrick Boettcher patrick.boettcher at posteo.de
Mon Feb 16 22:22:37 UTC 2015


This patch fixes warnings/errors raised by checkpatch.pl relating to
line-length and comments in r8192I_wx.h.

Signed-off-by: Patrick Boettcher <patrick.boettcher at posteo.de>
---
 drivers/staging/rtl8192u/r8192U_wx.h | 32 ++++++++++++++++++++------------
 1 file changed, 20 insertions(+), 12 deletions(-)

diff --git a/drivers/staging/rtl8192u/r8192U_wx.h b/drivers/staging/rtl8192u/r8192U_wx.h
index ae7a617..6665126 100644
--- a/drivers/staging/rtl8192u/r8192U_wx.h
+++ b/drivers/staging/rtl8192u/r8192U_wx.h
@@ -1,23 +1,31 @@
 /*
-	This is part of rtl8180 OpenSource driver - v 0.3
-	Copyright (C) Andrea Merello 2004  <andrea.merello at gmail.com>
-	Released under the terms of GPL (General Public Licence)
-
-	Parts of this driver are based on the GPL part of the official realtek driver
-	Parts of this driver are based on the rtl8180 driver skeleton from Patric Schenke & Andres Salomon
-	Parts of this driver are based on the Intel Pro Wireless 2100 GPL driver
-
-	We want to thank the Authors of such projects and the Ndiswrapper project Authors.
-*/
+ *  This is part of rtl8180 OpenSource driver - v 0.3
+ *
+ *  Copyright (C) Andrea Merello 2004  <andrea.merello at gmail.com>
+ *
+ *  Released under the terms of GPL (General Public Licence)
+ *
+ *  Parts of this driver are based on the GPL part of the official
+ *    realtek driver
+ *  Parts of this driver are based on the rtl8180 driver skeleton from
+ *    Patric Schenke & Andres Salomon
+ *  Parts of this driver are based on the Intel Pro Wireless 2100 GPL
+ *    driver
+ *
+ *  We want to thank the authors of these projects and the
+ *    Ndiswrapper project authors.
+ *
+ */
 
 /* this file (will) contains wireless extension handlers*/
 
 #ifndef R8180_WX_H
 #define R8180_WX_H
-//#include <linux/wireless.h>
+
+/* #include <linux/wireless.h> */
 
 extern struct iw_handler_def r8192_wx_handlers_def;
-/* Enable  the rtl819x_core.c to share this function, david 2008.9.22 */
+/* Enable the rtl819x_core.c to share this function, david 2008.9.22 */
 extern struct iw_statistics *r8192_get_wireless_stats(struct net_device *dev);
 
 #endif
-- 
2.1.4



More information about the devel mailing list