dect
/
linux-2.6
Archived
13
0
Fork 0

Staging: comedi: fix brace coding style issue in ni_labpc.c

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>
This commit is contained in:
Maurice Dawson 2010-02-19 10:53:13 +00:00 committed by Greg Kroah-Hartman
parent a917d4c425
commit 8377e813c7
1 changed files with 2 additions and 4 deletions

View File

@ -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) {