]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: ks7010: review comment style in ks7010_sdio source file
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Mon, 23 Apr 2018 13:44:39 +0000 (15:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Apr 2018 13:47:22 +0000 (15:47 +0200)
This commit reviews comment style used in ks7010_sdio source file
in order to be coherent with the rest of the code. Most comments
in this source are before definitions but only two of them have
been written at the right. So, be coherent moving this two to the
top of definitions. Also fix one multiline comment style to use
the normal preferred kernel style.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks7010_sdio.c

index cf9f347ecc9db6f3852c35f129ad247cd256e48d..23bfdf3cc8060158a0d7ccbc8eeefa9f58d9338f 100644 (file)
@@ -48,12 +48,17 @@ enum reg_status_type {
 /* Write Index Register */
 #define WRITE_INDEX_REG                0x000010
 
-/* Write Status/Read Data Size Register
+/*
+ * Write Status/Read Data Size Register
  * for network packet (less than 2048 bytes data)
  */
 #define WSTATUS_RSIZE_REG      0x000014
-#define WSTATUS_MASK           0x80    /* Write Status Register value */
-#define RSIZE_MASK             0x7F    /* Read Data Size Register value [10:4] */
+
+/* Write Status Register value */
+#define WSTATUS_MASK           0x80
+
+/* Read Data Size Register value [10:4] */
+#define RSIZE_MASK             0x7F
 
 /* ARM to SD interrupt Enable */
 #define INT_ENABLE_REG         0x000020