Skip to content

Commit

Permalink
Staging: comedi: fix brace coding style issue in ni_labpc.c
Browse files Browse the repository at this point in the history
This is a patch to the ni_labpc.c file that fixes up a brace warning
found by the checkpatch.pl tool.

Signed-off-by: Maurice Dawson <maurice2699@btinternet.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Maurice Dawson authored and Greg Kroah-Hartman committed Mar 4, 2010
1 parent a917d4c commit 8377e81
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions drivers/staging/comedi/drivers/ni_labpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -483,12 +483,10 @@ int labpc_common_attach(struct comedi_device *dev, unsigned long iobase,

printk("comedi%d: ni_labpc: %s, io 0x%lx", dev->minor, thisboard->name,
iobase);
if (irq) {
if (irq)
printk(", irq %u", irq);
}
if (dma_chan) {
if (dma_chan)
printk(", dma %u", dma_chan);
}
printk("\n");

if (iobase == 0) {
Expand Down

0 comments on commit 8377e81

Please sign in to comment.