Commit bd98a4ab authored by Ian Abbott's avatar Ian Abbott Committed by Greg Kroah-Hartman

staging: comedi: ni_labpc: Alignment should match open parenthesis

Fix checkpatch issues "CHECK: Alignment should match open parenthesis".
Signed-off-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6569f098
...@@ -403,7 +403,7 @@ static void labpc_set_ai_convert_period(struct comedi_cmd *cmd, ...@@ -403,7 +403,7 @@ static void labpc_set_ai_convert_period(struct comedi_cmd *cmd,
} }
static unsigned int labpc_ai_scan_period(const struct comedi_cmd *cmd, static unsigned int labpc_ai_scan_period(const struct comedi_cmd *cmd,
enum scan_mode mode) enum scan_mode mode)
{ {
if (cmd->scan_begin_src != TRIG_TIMER) if (cmd->scan_begin_src != TRIG_TIMER)
return 0; return 0;
...@@ -1149,7 +1149,7 @@ static unsigned int labpc_eeprom_read_status(struct comedi_device *dev) ...@@ -1149,7 +1149,7 @@ static unsigned int labpc_eeprom_read_status(struct comedi_device *dev)
} }
static int labpc_eeprom_write(struct comedi_device *dev, static int labpc_eeprom_write(struct comedi_device *dev,
unsigned int address, unsigned int value) unsigned int address, unsigned int value)
{ {
struct labpc_private *devpriv = dev->private; struct labpc_private *devpriv = dev->private;
const int write_enable_instruction = 0x6; const int write_enable_instruction = 0x6;
......
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