Browse Source

staging: dgnc: fix CamelCase in dgnc_tty.c

fix checkpatch.pl warning about 'Avoid CamelCase'

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Daeseok Youn 9 years ago
parent
commit
b9f8463728
2 changed files with 3 additions and 3 deletions
  1. 1 1
      drivers/staging/dgnc/dgnc_tty.c
  2. 2 2
      drivers/staging/dgnc/digi.h

+ 1 - 1
drivers/staging/dgnc/dgnc_tty.c

@@ -2931,7 +2931,7 @@ static int dgnc_tty_ioctl(struct tty_struct *tty, unsigned int cmd,
 		 * Figure out how much data the RealPort Server believes should
 		 * Figure out how much data the RealPort Server believes should
 		 * be in our TX queue.
 		 * be in our TX queue.
 		 */
 		 */
-		tdist = (buf.tIn - buf.tOut) & 0xffff;
+		tdist = (buf.tx_in - buf.tx_out) & 0xffff;
 
 
 		/*
 		/*
 		 * If we have more data than the RealPort Server believes we
 		 * If we have more data than the RealPort Server believes we

+ 2 - 2
drivers/staging/dgnc/digi.h

@@ -109,8 +109,8 @@ struct digi_info {
 
 
 struct digi_getbuffer /* Struct for holding buffer use counts */
 struct digi_getbuffer /* Struct for holding buffer use counts */
 {
 {
-	unsigned long tIn;
-	unsigned long tOut;
+	unsigned long tx_in;
+	unsigned long tx_out;
 	unsigned long rxbuf;
 	unsigned long rxbuf;
 	unsigned long txbuf;
 	unsigned long txbuf;
 	unsigned long txdone;
 	unsigned long txdone;