Staging: comedi: fix prink warning style issue in ni_daq_700.c
This is a patch to the ni_daq_700.c file that fixes up a prink warning found by the checkpatch.pl tool Signed-off-by: Ravishankar <ravishankarkm32@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
3297d6c7c8
commit
ee4d07d8e1
1 changed files with 5 additions and 5 deletions
|
@ -51,7 +51,7 @@ IRQ is assigned but not used.
|
||||||
#include <pcmcia/cisreg.h>
|
#include <pcmcia/cisreg.h>
|
||||||
#include <pcmcia/ds.h>
|
#include <pcmcia/ds.h>
|
||||||
|
|
||||||
static struct pcmcia_device *pcmcia_cur_dev = NULL;
|
static struct pcmcia_device *pcmcia_cur_dev;
|
||||||
|
|
||||||
#define DIO700_SIZE 8 /* size of io region used by board */
|
#define DIO700_SIZE 8 /* size of io region used by board */
|
||||||
|
|
||||||
|
@ -381,11 +381,11 @@ static int dio700_attach(struct comedi_device *dev, struct comedi_devconfig *it)
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
printk("bug! couldn't determine board type\n");
|
printk(KERN_ERR "bug! couldn't determine board type\n");
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
printk("comedi%d: ni_daq_700: %s, io 0x%lx", dev->minor,
|
printk(KERN_ERR "comedi%d: ni_daq_700: %s, io 0x%lx", dev->minor,
|
||||||
thisboard->name, iobase);
|
thisboard->name, iobase);
|
||||||
#ifdef incomplete
|
#ifdef incomplete
|
||||||
if (irq)
|
if (irq)
|
||||||
|
@ -396,7 +396,7 @@ static int dio700_attach(struct comedi_device *dev, struct comedi_devconfig *it)
|
||||||
printk("\n");
|
printk("\n");
|
||||||
|
|
||||||
if (iobase == 0) {
|
if (iobase == 0) {
|
||||||
printk("io base address is zero!\n");
|
printk(KERN_ERR "io base address is zero!\n");
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -421,7 +421,7 @@ static int dio700_attach(struct comedi_device *dev, struct comedi_devconfig *it)
|
||||||
|
|
||||||
static int dio700_detach(struct comedi_device *dev)
|
static int dio700_detach(struct comedi_device *dev)
|
||||||
{
|
{
|
||||||
printk("comedi%d: ni_daq_700: cs-remove\n", dev->minor);
|
printk(KERN_ERR "comedi%d: ni_daq_700: cs-remove\n", dev->minor);
|
||||||
|
|
||||||
if (dev->subdevices)
|
if (dev->subdevices)
|
||||||
subdev_700_cleanup(dev, dev->subdevices + 0);
|
subdev_700_cleanup(dev, dev->subdevices + 0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue