linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: comedi: drivers: pcl812.c: fixed a coding style issue
@ 2014-04-04 10:05 Kumar Amit Mehta
  2014-04-04 11:07 ` Dan Carpenter
  2014-04-04 12:39 ` walter harms
  0 siblings, 2 replies; 8+ messages in thread
From: Kumar Amit Mehta @ 2014-04-04 10:05 UTC (permalink / raw)
  To: abbotti; +Cc: hsweeten, gregkh, devel, kernel-janitors, linux-kernel

Fixed a coding style issue. Reported by checkpatch.pl

Signed-off-by: Kumar Amit Mehta <gmate.amit@gmail.com>
---
 drivers/staging/comedi/drivers/pcl812.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/comedi/drivers/pcl812.c b/drivers/staging/comedi/drivers/pcl812.c
index 160eac8..5cc01fe 100644
--- a/drivers/staging/comedi/drivers/pcl812.c
+++ b/drivers/staging/comedi/drivers/pcl812.c
@@ -811,8 +811,9 @@ static int pcl812_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
 				devpriv->ai_dma = 0;
 				break;
 			}
-	} else
+	} else {
 		devpriv->ai_dma = 0;
+	}
 
 	devpriv->ai_act_scan = 0;
 	devpriv->ai_poll_ptr = 0;
-- 
1.8.5.3


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

end of thread, other threads:[~2014-04-04 15:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-04 10:05 [PATCH] staging: comedi: drivers: pcl812.c: fixed a coding style issue Kumar Amit Mehta
2014-04-04 11:07 ` Dan Carpenter
2014-04-04 11:48   ` Kumar Amit Mehta
2014-04-04 13:26     ` Dan Carpenter
2014-04-04 15:17       ` Kumar Amit Mehta
2014-04-04 15:28         ` Joe Perches
2014-04-04 15:32         ` Dan Carpenter
2014-04-04 12:39 ` walter harms

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).