* [PATCH] Staging: comedi: addi-data: clean up formatting of the else statement
@ 2014-05-27 14:38 Marcin Kostrzewa
2014-05-28 10:47 ` Ian Abbott
0 siblings, 1 reply; 2+ messages in thread
From: Marcin Kostrzewa @ 2014-05-27 14:38 UTC (permalink / raw)
To: Ian Abbott, H Hartley Sweeten, Greg Kroah-Hartman, Fred Akers,
Marcin Kostrzewa, devel, linux-kernel
Signed-off-by: Marcin Kostrzewa <marckostrzewa@gmail.com>
---
drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c
index 20e89b0..e82c3fc 100644
--- a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c
+++ b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c
@@ -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);
--
1.9.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Staging: comedi: addi-data: clean up formatting of the else statement
2014-05-27 14:38 [PATCH] Staging: comedi: addi-data: clean up formatting of the else statement Marcin Kostrzewa
@ 2014-05-28 10:47 ` Ian Abbott
0 siblings, 0 replies; 2+ messages in thread
From: Ian Abbott @ 2014-05-28 10:47 UTC (permalink / raw)
To: Marcin Kostrzewa, H Hartley Sweeten, Greg Kroah-Hartman,
Fred Akers, devel, linux-kernel
On 2014-05-27 15:38, Marcin Kostrzewa wrote:
> Signed-off-by: Marcin Kostrzewa <marckostrzewa@gmail.com>
> ---
> drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
Thanks!
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@mev.co.uk> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-28 10:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-27 14:38 [PATCH] Staging: comedi: addi-data: clean up formatting of the else statement Marcin Kostrzewa
2014-05-28 10:47 ` Ian Abbott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox