Staging: comedi: addi-data: clean up formatting of the else statement
PATCH 1/1 Staging: comedi: addi-data: clean up formatting of the else statement
Signed-off-by Marcin Kostrzewa <[email protected]>
--- drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c +1 -5
@@ -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 );
Signature · 1 line
1.9.2
Quoted 4 lines · Marcin Kostrzewa
Signed-off-by Marcin Kostrzewa <[email protected]>--- drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
Thanks!
Reviewed-by Ian Abbott <[email protected]>
Signature · 2 lines
-=( Ian Abbott @ MEV Ltd. E-mail: <[email protected]> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-