mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Anson Jacob <ansonjacob.aj@gmail.com>
To: abbotti@mev.co.uk, hsweeten@visionengravers.com,
	gregkh@linuxfoundation.org, andrey_utkin@fastmail.com
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: [PATCH v3 4/8] staging: comedi: ni_atmio.c: Fix checkpatch warning
Date: Fri, 26 Aug 2016 19:13:49 -0400	[thread overview]
Message-ID: <85c6a293a929457e568b4ffa278b73e1863b534b.1472252558.git.ansonjacob.aj@gmail.com> (raw)
In-Reply-To: <cover.1472252557.git.ansonjacob.aj@gmail.com>

Fix checkpatch.pl warning for 'Statements should start on a tabstop'
Convert single line block comment to single line comment
Align single line comment

Signed-off-by: Anson Jacob <ansonjacob.aj@gmail.com>
---
 drivers/staging/comedi/drivers/ni_atmio.c | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/drivers/staging/comedi/drivers/ni_atmio.c b/drivers/staging/comedi/drivers/ni_atmio.c
index 162a000..ffcf7af 100644
--- a/drivers/staging/comedi/drivers/ni_atmio.c
+++ b/drivers/staging/comedi/drivers/ni_atmio.c
@@ -89,10 +89,7 @@
 #include "ni_stc.h"
 #include "8255.h"
 
-/*
- *  AT specific setup
- */
-
+/* AT specific setup */
 static const struct ni_board_struct ni_boards[] = {
 	{
 		.name		= "at-mio-16e-1",
@@ -206,7 +203,7 @@ static const struct ni_board_struct ni_boards[] = {
 		.n_adchan	= 16,
 		.ai_maxdata	= 0xffff,
 		.ai_fifo_depth	= 512,
-		.alwaysdither	= 1,	/* unknown */
+		.alwaysdither	= 1,		/* unknown */
 		.gainlkup	= ai_gain_14,
 		.ai_speed	= 10000,
 		.caldac		= { dac8800, dac8043, ad8522 },
@@ -278,10 +275,10 @@ static const struct ni_board_struct *ni_atmio_probe(struct comedi_device *dev)
 	}
 	if (device_id == 255)
 		dev_err(dev->class_dev, "can't find board\n");
-	 else if (device_id == 0)
+	else if (device_id == 0)
 		dev_err(dev->class_dev,
 			"EEPROM read error (?) or device not found\n");
-	 else
+	else
 		dev_err(dev->class_dev,
 			"unknown device ID %d -- contact author\n", device_id);
 
-- 
2.7.4

  parent reply	other threads:[~2016-08-26 23:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-26 23:11 [PATCH v3 0/8] staging: comedi: " Anson Jacob
2016-08-26 23:12 ` [PATCH v3 1/8] staging: comedi: cb_pcidas64.c: " Anson Jacob
2016-08-26 23:13 ` [PATCH v3 2/8] staging: comedi: cb_pcidas64: Fix commenting style Anson Jacob
2016-08-26 23:13 ` [PATCH v3 3/8] staging: comedi: jr3_pci.h: Fix checkpatch warning Anson Jacob
2016-08-26 23:13 ` Anson Jacob [this message]
2016-08-26 23:14 ` [PATCH v3 5/8] staging: comedi: s626.h: " Anson Jacob
2016-08-26 23:14 ` [PATCH v3 6/8] staging: comedi: jr3_pci.c: " Anson Jacob
2016-08-26 23:14 ` [PATCH v3 7/8] staging: comedi: ni_at_a2150: " Anson Jacob
2016-08-26 23:14 ` [PATCH v3 8/8] staging: comedi: cb_pcidas64: Fix checkpath warning Anson Jacob

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85c6a293a929457e568b4ffa278b73e1863b534b.1472252558.git.ansonjacob.aj@gmail.com \
    --to=ansonjacob.aj@gmail.com \
    --cc=abbotti@mev.co.uk \
    --cc=andrey_utkin@fastmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hsweeten@visionengravers.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®