Staging: comedi: fix printk issue in ni_labpc_cs.c
authorRavishankar karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Mon, 21 Nov 2011 10:37:02 +0000 (16:07 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 02:51:40 +0000 (18:51 -0800)
This is a patch to the ni_labpc_cs.c file that fixes up a printk
warning found by the checkpatch.pl tool

Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/ni_labpc_cs.c

index 832a5178b638e38c0ceff0335ce7758712c7a16d..ff3840544dd45693bda59b19f3c5af9b94904bb8 100644 (file)
@@ -145,7 +145,7 @@ static int labpc_attach(struct comedi_device *dev, struct comedi_devconfig *it)
                irq = link->irq;
                break;
        default:
-               printk("bug! couldn't determine board type\n");
+               pr_err("bug! couldn't determine board type\n");
                return -EINVAL;
                break;
        }