summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2018-04-23 15:44:39 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-25 15:47:22 +0200
commit004e43c24d24b87f737f0482646c9094fb2cf14d (patch)
treea4f8a0b7fcde20d99210641118b2dd579befabfd /drivers
parenta704a1bcd521993c9332f748cfa7d416aa6abf48 (diff)
downloadlinux-stable-004e43c24d24b87f737f0482646c9094fb2cf14d.tar.gz
linux-stable-004e43c24d24b87f737f0482646c9094fb2cf14d.tar.bz2
linux-stable-004e43c24d24b87f737f0482646c9094fb2cf14d.zip
staging: ks7010: review comment style in ks7010_sdio source file
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/ks7010/ks7010_sdio.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c
index cf9f347ecc9d..23bfdf3cc806 100644
--- a/drivers/staging/ks7010/ks7010_sdio.c
+++ b/drivers/staging/ks7010/ks7010_sdio.c
@@ -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