From: Sergio Paracuellos Date: Mon, 23 Apr 2018 13:44:39 +0000 (+0200) Subject: staging: ks7010: review comment style in ks7010_sdio source file X-Git-Tag: microblaze-v4.18-rc3~25^2~541 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=004e43c24d24b87f737f0482646c9094fb2cf14d;p=linux-2.6-microblaze.git 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 Signed-off-by: Greg Kroah-Hartman --- 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