Commit 74df5760 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: ni_labpc: rename some of the private data variables

For aesthetic reasons, rename the 'command*_bits' and 'status*_bits'
variables in the private data in order to shorten some of the long
lines.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8263dfdf
This diff is collapsed.
......@@ -60,15 +60,15 @@ struct labpc_private {
/* software copy of analog output values */
unsigned int ao_value[NUM_AO_CHAN];
/* software copys of bits written to command registers */
unsigned int command1_bits;
unsigned int command2_bits;
unsigned int command3_bits;
unsigned int command4_bits;
unsigned int command5_bits;
unsigned int command6_bits;
unsigned int cmd1;
unsigned int cmd2;
unsigned int cmd3;
unsigned int cmd4;
unsigned int cmd5;
unsigned int cmd6;
/* store last read of board status registers */
unsigned int status1_bits;
unsigned int status2_bits;
unsigned int stat1;
unsigned int stat2;
/*
* value to load into board's counter a0 (conversion pacing) for timed
* conversions
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment