Staging: comedi: pcl725: Checkpatch cleanups
authorBenjamin Adolphi <b.adolphi@googlemail.com>
Mon, 18 Jan 2010 11:57:42 +0000 (12:57 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:45 +0000 (16:42 -0800)
This fixes all checkpatch issues in the pcl725 comedi driver.

Signed-off-by: Benjamin Adolphi <b.adolphi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/pcl725.c

index 1da4941..60261f4 100644 (file)
@@ -66,7 +66,7 @@ static int pcl725_attach(struct comedi_device *dev, struct comedi_devconfig *it)
        unsigned long iobase;
 
        iobase = it->options[0];
-       printk("comedi%d: pcl725: 0x%04lx ", dev->minor, iobase);
+       printk(KERN_INFO "comedi%d: pcl725: 0x%04lx ", dev->minor, iobase);
        if (!request_region(iobase, PCL725_SIZE, "pcl725")) {
                printk("I/O port conflict\n");
                return -EIO;
@@ -96,14 +96,14 @@ static int pcl725_attach(struct comedi_device *dev, struct comedi_devconfig *it)
        s->insn_bits = pcl725_di_insn;
        s->range_table = &range_digital;
 
-       printk("\n");
+       printk(KERN_INFO "\n");
 
        return 0;
 }
 
 static int pcl725_detach(struct comedi_device *dev)
 {
-       printk("comedi%d: pcl725: remove\n", dev->minor);
+       printk(KERN_INFO "comedi%d: pcl725: remove\n", dev->minor);
 
        if (dev->iobase)
                release_region(dev->iobase, PCL725_SIZE);