mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-11 23:27:42 +07:00
Staging: comedi: addi-data: clean up formatting of the else statement
Signed-off-by: Marcin Kostrzewa <marckostrzewa@gmail.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
81aa143bae
commit
6015bd5538
@ -102,11 +102,7 @@ static int apci3501_write_insn_timer(struct comedi_device *dev,
|
||||
ul_Command1 = (ul_Command1 & 0xFFFFF9FFUL) | 0x1UL;
|
||||
/* Enable the Watchdog */
|
||||
outl(ul_Command1, dev->iobase + APCI3501_TIMER_CTRL_REG);
|
||||
}
|
||||
|
||||
else if (data[1] == 0) /* Stop The Watchdog */
|
||||
{
|
||||
/* Stop The Watchdog */
|
||||
} else if (data[1] == 0) { /* Stop The Watchdog */
|
||||
ul_Command1 = inl(dev->iobase + APCI3501_TIMER_CTRL_REG);
|
||||
ul_Command1 = ul_Command1 & 0xFFFFF9FEUL;
|
||||
outl(0x0, dev->iobase + APCI3501_TIMER_CTRL_REG);
|
||||
|
Loading…
Reference in New Issue
Block a user