* [PATCH 1/1] Staging: comedi: poc: fix coding style issues
@ 2010-02-05 1:27 Chihau Chau
0 siblings, 0 replies; only message in thread
From: Chihau Chau @ 2010-02-05 1:27 UTC (permalink / raw)
To: gregkh, wfp5p, sgayda2, mithlesh; +Cc: devel, linux-kernel, Chihau Chau
From: Chihau Chau <chihau@gmail.com>
This fixes a line over 80 characters and a brace warnings.
Signed-off-by: Chihau Chau <chihau@gmail.com>
---
drivers/staging/comedi/drivers/poc.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/comedi/drivers/poc.c b/drivers/staging/comedi/drivers/poc.c
index d23e588..207d5ee 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,10 +156,9 @@ 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;
}
--
1.5.6.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-02-05 1:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-05 1:27 [PATCH 1/1] Staging: comedi: poc: fix coding style issues Chihau Chau
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).