From: Ravishankar karkala Mallikarjunayya Date: Mon, 21 Nov 2011 10:37:02 +0000 (+0530) Subject: Staging: comedi: fix printk issue in ni_labpc_cs.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=327ffc0ce7230872a7944b92961e718030ffca31;p=mv-sheeva.git Staging: comedi: fix printk issue in ni_labpc_cs.c 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/ni_labpc_cs.c b/drivers/staging/comedi/drivers/ni_labpc_cs.c index 832a5178b63..ff3840544dd 100644 --- a/drivers/staging/comedi/drivers/ni_labpc_cs.c +++ b/drivers/staging/comedi/drivers/ni_labpc_cs.c @@ -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; }