Skip to content

Commit

Permalink
staging: dgnc: fix CamelCase in dgnc_tty.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daeseok Youn authored and Greg Kroah-Hartman committed Apr 4, 2016
1 parent 8670a56 commit b9f8463
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/dgnc/dgnc_tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/dgnc/digi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b9f8463

Please sign in to comment.