Staging: comedi: poc: fix coding style issues

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Sunday, March 7, 2010 - 6:03 pm

Gitweb:     http://git.kernel.org/linus/52d83bde6f10480268c454b3373bfcec8c2e3c3e
Commit:     52d83bde6f10480268c454b3373bfcec8c2e3c3e
Parent:     60b341b778cc2929df16c0a504c91621b3c6a4ad
Author:     Chihau Chau <chihau@gmail.com>
AuthorDate: Thu Feb 4 22:27:05 2010 -0300
Committer:  Greg Kroah-Hartman <gregkh@suse.de>
CommitDate: Thu Mar 4 07:59:00 2010 -0800

    Staging: comedi: poc: fix coding style issues
    
    This fixes a line over 80 characters and a brace warnings.
    
    Signed-off-by: Chihau Chau <chihau@gmail.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
 drivers/staging/comedi/drivers/poc.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/comedi/drivers/poc.c b/drivers/staging/comedi/drivers/poc.c
index d23e588..28eba6d 100644
--- a/drivers/staging/comedi/drivers/poc.c
+++ b/drivers/staging/comedi/drivers/poc.c
@@ -136,8 +136,8 @@ static int poc_attach(struct comedi_device *dev, struct comedi_devconfig *it)
 	/* check if io addresses are available */
 	if (!request_region(iobase, iosize, "dac02")) {
 		printk
-		    ("I/O port conflict: failed to allocate ports 0x%lx to 0x%lx\n",
-		     iobase, iobase + iosize - 1);
+		    ("I/O port conflict: failed to allocate ports 0x%lx to "
+					"0x%lx\n", iobase, iobase + iosize - 1);
 		return -EIO;
 	}
 	dev->iobase = iobase;
@@ -156,9 +156,8 @@ static int poc_attach(struct comedi_device *dev, struct comedi_devconfig *it)
 	s->insn_write = this_board->winsn;
 	s->insn_read = this_board->rinsn;
 	s->insn_bits = this_board->insnbits;
-	if (s->type == COMEDI_SUBD_AO || s->type == COMEDI_SUBD_DO) {
+	if (s->type == COMEDI_SUBD_AO || s->type == COMEDI_SUBD_DO)
 		s->subdev_flags = SDF_WRITABLE;
-	}
 
 	return 0;
 }
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Staging: comedi: poc: fix coding style issues, Linux Kernel Mailing ..., (Sun Mar 7, 6:03 pm)