提交 dee86e8c 编写于 作者: G Greg Kroah-Hartman

Staging: comedi: ssc_dnp: fixed a brace coding style issue

Fixed a coding style issue.

Created during the keynote presentation at FOSDEM 2010
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 2d2facda
......@@ -300,11 +300,11 @@ static int dnp_dio_insn_config(struct comedi_device *dev,
/* read 'old' direction of the port and set bits (out=1, in=0) */
register_buffer = inb(CSCDR);
if (data[0] == COMEDI_OUTPUT) {
if (data[0] == COMEDI_OUTPUT)
register_buffer |= (1 << chan);
} else {
else
register_buffer &= ~(1 << chan);
}
outb(register_buffer, CSCDR);
return 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册