summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/upc.h
diff options
context:
space:
mode:
authorNicholas Parkanyi2014-12-30 10:57:44 +0100
committerGreg Kroah-Hartman2015-01-13 04:42:45 +0100
commitc3dd5a08d736c590603a514e423f76fb4153ae56 (patch)
tree78a6653ed24fe3c9da5973b092030a72ee9d921e /drivers/staging/vt6655/upc.h
parentstaging: vt6656: whitespace checkpatch warning fix. (diff)
downloadkernel-qcow2-linux-c3dd5a08d736c590603a514e423f76fb4153ae56.tar.gz
kernel-qcow2-linux-c3dd5a08d736c590603a514e423f76fb4153ae56.tar.xz
kernel-qcow2-linux-c3dd5a08d736c590603a514e423f76fb4153ae56.zip
staging: vt6655: Replace C99 comments in power.c and upc.h.
This patch fixes the following checkpatch.pl warnings: ERROR: do not use C99 // comments +// ERROR: do not use C99 // comments +// For memory mapped IO ERROR: do not use C99 // comments +// ERROR: do not use C99 // comments +#endif // __UPC_H__ ERROR: do not use C99 // comments + // set period of power up before TBTT ERROR: do not use C99 // comments + // set AID ERROR: do not use C99 // comments + // set ATIM Window ERROR: do not use C99 // comments + // Set AutoSleep ERROR: do not use C99 // comments + // Set HWUTSF ERROR: do not use C99 // comments + // clear always listen beacon ERROR: do not use C99 // comments + // first time set listen next beacon ERROR: do not use C99 // comments + // always listen beacon ERROR: do not use C99 // comments + // enable power saving hw function ERROR: do not use C99 // comments + // disable power saving hw function ERROR: do not use C99 // comments + //clear AutoSleep ERROR: do not use C99 // comments + //clear HWUTSF ERROR: do not use C99 // comments + // set always listen beacon Signed-off-by: Nicholas Parkanyi <n.parkanyi@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/upc.h')
-rw-r--r--drivers/staging/vt6655/upc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/vt6655/upc.h b/drivers/staging/vt6655/upc.h
index c53703a772f5..cc63dc8d47f7 100644
--- a/drivers/staging/vt6655/upc.h
+++ b/drivers/staging/vt6655/upc.h
@@ -33,9 +33,9 @@
/*--------------------- Export Definitions -------------------------*/
-//
-// For memory mapped IO
-//
+
+/* For memory mapped IO */
+
#define VNSvInPortB(dwIOAddress, pbyData) \
do { \
@@ -86,4 +86,4 @@ do { \
/*--------------------- Export Functions --------------------------*/
-#endif // __UPC_H__
+#endif /* __UPC_H__ */