diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2012-09-02 23:30:14 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-04 14:28:42 -0700 |
commit | c2e114db5a2c02b5b148cf8db88c4a0d7c8ffb56 (patch) | |
tree | f955049559f63a9a7e0dccef1bd221583fcb9c2c /drivers/staging/bcm/InterfaceInit.c | |
parent | d7b990a035a86a07e81231caceb6e624056c258f (diff) | |
download | linux-c2e114db5a2c02b5b148cf8db88c4a0d7c8ffb56.tar.bz2 |
staging: bcm: use pr_info and pr_err rather than printk
Convert printk(KERN_INFO to pr_info( and printk(KERN_ERR to pr_err(.
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm/InterfaceInit.c')
-rw-r--r-- | drivers/staging/bcm/InterfaceInit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/bcm/InterfaceInit.c b/drivers/staging/bcm/InterfaceInit.c index 57452efa6abb..dfee0cef5314 100644 --- a/drivers/staging/bcm/InterfaceInit.c +++ b/drivers/staging/bcm/InterfaceInit.c @@ -671,18 +671,18 @@ static __init int bcm_init(void) { int retval; - printk(KERN_INFO "%s: %s, %s\n", DRV_NAME, DRV_DESCRIPTION, DRV_VERSION); - printk(KERN_INFO "%s\n", DRV_COPYRIGHT); + pr_info("%s: %s, %s\n", DRV_NAME, DRV_DESCRIPTION, DRV_VERSION); + pr_info("%s\n", DRV_COPYRIGHT); bcm_class = class_create(THIS_MODULE, DRV_NAME); if (IS_ERR(bcm_class)) { - printk(KERN_ERR DRV_NAME ": could not create class\n"); + pr_err(DRV_NAME ": could not create class\n"); return PTR_ERR(bcm_class); } retval = usb_register(&usbbcm_driver); if (retval < 0) { - printk(KERN_ERR DRV_NAME ": could not register usb driver\n"); + pr_err(DRV_NAME ": could not register usb driver\n"); class_destroy(bcm_class); return retval; } |