staging: dgnc: fix CamelCase in dgnc_tty.c
authorDaeseok Youn <daeseok.youn@gmail.com>
Fri, 1 Apr 2016 08:28:44 +0000 (17:28 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Apr 2016 19:41:24 +0000 (12:41 -0700)
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>
drivers/staging/dgnc/dgnc_tty.c
drivers/staging/dgnc/digi.h

index 5d8da411edc6cff70f568abc0d05e54b7a8ed1cd..074988d99639c0f4e8f06c34f9de59ea51d903ed 100644 (file)
@@ -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
                 * 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
index 523a2d34f747b9ad7f05911df3d7f60505cb9449..5b983e6f5ee2c8de09e060f1b8f283c23fe424c8 100644 (file)
@@ -109,8 +109,8 @@ struct digi_info {
 
 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 txbuf;
        unsigned long txdone;