Commit 6015bd55 authored by Marcin Kostrzewa's avatar Marcin Kostrzewa Committed by Greg Kroah-Hartman

Staging: comedi: addi-data: clean up formatting of the else statement

Signed-off-by: default avatarMarcin Kostrzewa <marckostrzewa@gmail.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 81aa143b
...@@ -102,11 +102,7 @@ static int apci3501_write_insn_timer(struct comedi_device *dev, ...@@ -102,11 +102,7 @@ static int apci3501_write_insn_timer(struct comedi_device *dev,
ul_Command1 = (ul_Command1 & 0xFFFFF9FFUL) | 0x1UL; ul_Command1 = (ul_Command1 & 0xFFFFF9FFUL) | 0x1UL;
/* Enable the Watchdog */ /* Enable the Watchdog */
outl(ul_Command1, dev->iobase + APCI3501_TIMER_CTRL_REG); outl(ul_Command1, dev->iobase + APCI3501_TIMER_CTRL_REG);
} } else if (data[1] == 0) { /* Stop The Watchdog */
else if (data[1] == 0) /* Stop The Watchdog */
{
/* Stop The Watchdog */
ul_Command1 = inl(dev->iobase + APCI3501_TIMER_CTRL_REG); ul_Command1 = inl(dev->iobase + APCI3501_TIMER_CTRL_REG);
ul_Command1 = ul_Command1 & 0xFFFFF9FEUL; ul_Command1 = ul_Command1 & 0xFFFFF9FEUL;
outl(0x0, dev->iobase + APCI3501_TIMER_CTRL_REG); outl(0x0, dev->iobase + APCI3501_TIMER_CTRL_REG);
......
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