Signed-off-by: Joe Perches <joe@xxxxxxxxxxx> --- drivers/staging/line6/config.h | 4 ++-- drivers/staging/line6/driver.c | 6 +++--- drivers/staging/line6/driver.h | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/line6/config.h b/drivers/staging/line6/config.h index adad130..efc2543 100644 --- a/drivers/staging/line6/config.h +++ b/drivers/staging/line6/config.h @@ -34,8 +34,8 @@ #define CREATE_RAW_FILE 0 #if DO_DEBUG_MESSAGES -#define CHECKPOINT printk(KERN_INFO "line6usb: %s (%s:%d)\n", \ - __func__, __FILE__, __LINE__) +#define CHECKPOINT pr_info("line6usb: %s (%s:%d)\n", \ + __func__, __FILE__, __LINE__) #endif #if DO_DEBUG_MESSAGES diff --git a/drivers/staging/line6/driver.c b/drivers/staging/line6/driver.c index f188ece..1414576 100644 --- a/drivers/staging/line6/driver.c +++ b/drivers/staging/line6/driver.c @@ -642,7 +642,7 @@ static void line6_list_devices(void) for (i = 0; i < LINE6_MAX_DEVICES; ++i) { struct usb_line6 *dev = line6_devices[i]; - printk(KERN_INFO "Line6 device %d: ", i); + pr_info("Line6 device %d: ", i); if (dev == NULL) printk("(not used)\n"); @@ -1064,8 +1064,8 @@ static int __init line6_init(void) { int i, retval; - printk(KERN_INFO "%s driver version %s%s\n", - DRIVER_NAME, DRIVER_VERSION, DRIVER_REVISION); + pr_info("%s driver version %s%s\n", + DRIVER_NAME, DRIVER_VERSION, DRIVER_REVISION); line6_workqueue = create_workqueue(DRIVER_NAME); if (line6_workqueue == NULL) { diff --git a/drivers/staging/line6/driver.h b/drivers/staging/line6/driver.h index 9908bfa..07cc0c7 100644 --- a/drivers/staging/line6/driver.h +++ b/drivers/staging/line6/driver.h @@ -56,8 +56,8 @@ #define MISSING_CASE \ - printk(KERN_ERR "line6usb driver bug: missing case in %s:%d\n", \ - __FILE__, __LINE__) + pr_err("line6usb driver bug: missing case in %s:%d\n", \ + __FILE__, __LINE__) #define CHECK_RETURN(x) \ -- 1.6.5.rc3.dirty _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel