Staging: comedi: add missing KERN_INFO in ni_at_ao.c
authorStewart Robertson <stewart_r@aliencamel.com>
Thu, 22 Apr 2010 19:33:48 +0000 (20:33 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:35:39 +0000 (11:35 -0700)
This is a patch to the ni_at_ao.c file that adds the missing
KERN_INFO requested by the checkpatch.pl tool.

Signed-off-by: Stewart Robertson <stewart_r@aliencamel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/ni_at_ao.c

index 3778565c1f6bbbc30cea1855d678a82ebe6f4d6f..ce60224bb7bf9466bd02d165b88f32fd153e3f29 100644 (file)
@@ -226,7 +226,7 @@ static int atao_attach(struct comedi_device *dev, struct comedi_devconfig *it)
                iobase = 0x1c0;
        ao_unipolar = it->options[3];
 
-       printk("comedi%d: ni_at_ao: 0x%04lx", dev->minor, iobase);
+       printk(KERN_INFO "comedi%d: ni_at_ao: 0x%04lx", dev->minor, iobase);
 
        if (!request_region(iobase, ATAO_SIZE, "ni_at_ao")) {
                printk(" I/O port conflict\n");
@@ -283,14 +283,14 @@ static int atao_attach(struct comedi_device *dev, struct comedi_devconfig *it)
 
        atao_reset(dev);
 
-       printk("\n");
+       printk(KERN_INFO "\n");
 
        return 0;
 }
 
 static int atao_detach(struct comedi_device *dev)
 {
-       printk("comedi%d: atao: remove\n", dev->minor);
+       printk(KERN_INFO "comedi%d: atao: remove\n", dev->minor);
 
        if (dev->iobase)
                release_region(dev->iobase, ATAO_SIZE);