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

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

index c9859c90c152ad6f1bb8fdb7a9b0103562e1eefe..e5e7bed21de050cca644276d8930b4c3e5175ad0 100644 (file)
@@ -99,7 +99,7 @@ static int pcl730_attach(struct comedi_device *dev, struct comedi_devconfig *it)
 
        iobase = it->options[0];
        iorange = this_board->io_range;
-       printk("comedi%d: pcl730: board=%s 0x%04lx ", dev->minor,
+       printk(KERN_INFO "comedi%d: pcl730: board=%s 0x%04lx ", dev->minor,
               this_board->name, iobase);
        if (!request_region(iobase, iorange, "pcl730")) {
                printk("I/O port conflict\n");
@@ -152,14 +152,14 @@ static int pcl730_attach(struct comedi_device *dev, struct comedi_devconfig *it)
        s->range_table = &range_digital;
        s->private = (void *)PCL730_DIO_LO;
 
-       printk("\n");
+       printk(KERN_INFO "\n");
 
        return 0;
 }
 
 static int pcl730_detach(struct comedi_device *dev)
 {
-       printk("comedi%d: pcl730: remove\n", dev->minor);
+       printk(KERN_INFO "comedi%d: pcl730: remove\n", dev->minor);
 
        if (dev->iobase)
                release_region(dev->iobase, this_board->io_range);