[OPW,kernel,4/5] staging: vt6656: removed C99-style comments
diff mbox

Message ID 1382035947-20202-4-git-send-email-nandu.hgowda@gmail.com
State Accepted
Headers show

Commit Message

nandini h Oct. 17, 2013, 6:52 p.m. UTC
Linux style for comment is C89 style "/* */" and it
doesn't prefer C99-style comment "//...". Hence replaced
C99-style comments used in code by C89 style comment to
comply with linux coding style

Signed-off-by: Nandini Hanumanthagowda <nandu.hgowda@gmail.com>
---
 drivers/staging/vt6656/firmware.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Greg KH Oct. 17, 2013, 8:35 p.m. UTC | #1
On Fri, Oct 18, 2013 at 12:22:26AM +0530, Nandini Hanumanthagowda wrote:
> Linux style for comment is C89 style "/* */" and it
> doesn't prefer C99-style comment "//...". Hence replaced
> C99-style comments used in code by C89 style comment to
> comply with linux coding style
> 
> Signed-off-by: Nandini Hanumanthagowda <nandu.hgowda@gmail.com>

Applied, thanks.

greg k-h

Patch
diff mbox

diff --git a/drivers/staging/vt6656/firmware.c b/drivers/staging/vt6656/firmware.c
index c38c45e..126a024 100644
--- a/drivers/staging/vt6656/firmware.c
+++ b/drivers/staging/vt6656/firmware.c
@@ -36,7 +36,7 @@ 
 #include "rndis.h"
 
 static int msglevel = MSG_LEVEL_INFO;
-//static int msglevel = MSG_LEVEL_DEBUG;
+/* static int msglevel = MSG_LEVEL_DEBUG; */
 
 #define FIRMWARE_VERSION	0x133		/* version 1.51 */
 #define FIRMWARE_NAME		"vntwusb.fw"
@@ -136,7 +136,7 @@  int FIRMWAREbCheckVersion(struct vnt_private *pDevice)
 	}
 	DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"Firmware Version [%04x]\n", pDevice->wFirmwareVersion);
 	if (pDevice->wFirmwareVersion < FIRMWARE_VERSION) {
-		// branch to loader for download new firmware
+		/* branch to loader for download new firmware */
 		FIRMWAREbBrach2Sram(pDevice);
 		return false;
 	}