[PATCH] Staging: comedi: drivers: usbduxfast: changed "printk(KERN_INFO ..." for "pr_info(..."

From: Sebastian Benvenuti
Date: Thu Jun 28 2012 - 00:04:31 EST


changed 3 instances of printk(KERN_INFO for the prefered pr_info(

Signed-off-by: Sebastian Benvenuti <sebastianbenvenuti@xxxxxxxxx>
---
drivers/staging/comedi/drivers/usbduxfast.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/comedi/drivers/usbduxfast.c b/drivers/staging/comedi/drivers/usbduxfast.c
index 7b1d21a..c37371c 100644
--- a/drivers/staging/comedi/drivers/usbduxfast.c
+++ b/drivers/staging/comedi/drivers/usbduxfast.c
@@ -1589,7 +1589,7 @@ static int usbduxfastsub_probe(struct usb_interface *uinterf,
return ret;
}

- printk(KERN_INFO "comedi_: usbduxfast%d has been successfully "
+ pr_info("comedi_: usbduxfast%d has been successfully "
"initialized.\n", index);
/* success */
return 0;
@@ -1684,7 +1684,7 @@ static int usbduxfast_attach(struct comedi_device *dev,
return ret;
}

- printk(KERN_INFO "comedi%d: usbduxfast: usb-device %d is attached to "
+ pr_info("comedi%d: usbduxfast: usb-device %d is attached to "
"comedi.\n", dev->minor, index);
/* private structure is also simply the usb-structure */
dev->private = usbduxfastsub + index;
@@ -1720,7 +1720,7 @@ static int usbduxfast_attach(struct comedi_device *dev,

up(&(usbduxfastsub[index].sem));
up(&start_stop_sem);
- printk(KERN_INFO "comedi%d: successfully attached to usbduxfast.\n",
+ pr_info("comedi%d: successfully attached to usbduxfast.\n",
dev->minor);

return 0;
--
1.7.11.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/