public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: comedi: move trailing statement to next line in ni_mio_common.c
@ 2014-01-14  3:13 Chase Southwood
  2014-01-14  3:16 ` Joe Perches
                   ` (8 more replies)
  0 siblings, 9 replies; 25+ messages in thread
From: Chase Southwood @ 2014-01-14  3:13 UTC (permalink / raw)
  To: gregkh; +Cc: abbotti, hsweeten, linux-kernel, devel, Chase Southwood

This patch for ni_mio_common.c silences a checkpatch error due to a
trailing statement.

Signed-off-by: Chase Southwood <chase.southwood@yahoo.com>
---
 drivers/staging/comedi/drivers/ni_mio_common.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/comedi/drivers/ni_mio_common.c b/drivers/staging/comedi/drivers/ni_mio_common.c
index 457b884..dba19e9 100644
--- a/drivers/staging/comedi/drivers/ni_mio_common.c
+++ b/drivers/staging/comedi/drivers/ni_mio_common.c
@@ -692,7 +692,8 @@ static void ni_clear_ai_fifo(struct comedi_device *dev)
 		/*  Flush the 6143 data FIFO */
 		ni_writel(0x10, AIFIFO_Control_6143);	/*  Flush fifo */
 		ni_writel(0x00, AIFIFO_Control_6143);	/*  Flush fifo */
-		while (ni_readl(AIFIFO_Status_6143) & 0x10) ;	/*  Wait for complete */
+		while (ni_readl(AIFIFO_Status_6143) & 0x10)
+			;	/*  Wait for complete */
 	} else {
 		devpriv->stc_writew(dev, 1, ADC_FIFO_Clear);
 		if (board->reg_type == ni_reg_625x) {
-- 
1.8.4.2


^ permalink raw reply related	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2014-01-17 13:12 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-14  3:13 [PATCH] Staging: comedi: move trailing statement to next line in ni_mio_common.c Chase Southwood
2014-01-14  3:16 ` Joe Perches
2014-01-14  7:23   ` Dan Carpenter
2014-01-14 11:45     ` Ian Abbott
2014-01-14 11:48 ` Ian Abbott
2014-01-14 19:38 ` [PATCH v2] Staging: comedi: convert while loop to timeout " Chase Southwood
2014-01-14 19:45   ` Joe Perches
2014-01-14 19:50   ` Greg KH
2014-01-14 21:31 ` [PATCH v3] " Chase Southwood
2014-01-14 23:10   ` Greg KH
2014-01-15  0:23 ` [PATCH v4] " Chase Southwood
2014-01-15  3:58   ` Greg KH
2014-01-15 10:29     ` Ian Abbott
2014-01-15 18:29     ` Hartley Sweeten
2014-01-16  2:30       ` Greg KH
2014-01-16 11:08         ` Ian Abbott
2014-01-15  5:15 ` [PATCH v5] " Chase Southwood
2014-01-15 10:38   ` Ian Abbott
2014-01-15 17:51 ` [PATCH v6] " Chase Southwood
2014-01-15 18:48   ` Hartley Sweeten
2014-01-15 19:22 ` [PATCH v7] " Chase Southwood
2014-01-16 11:30   ` Ian Abbott
2014-01-16 17:46     ` Chase Southwood
2014-01-16 18:27 ` [PATCH v8] " Chase Southwood
2014-01-17 13:12   ` Ian Abbott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox