]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mei: use pr_err instead of printk(KERN_ERR
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 8 May 2012 20:04:55 +0000 (23:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 May 2012 20:53:26 +0000 (13:53 -0700)
pr_ format is more compact and enable utilizing of pr_fmt macro

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/main.c

index 20f80dfcf319cfe45fc990a89f79e44c3d7db4dd..ef5e3ec40f558b6505492b4c732b9ea87807721b 100644 (file)
@@ -1201,7 +1201,7 @@ static int __init mei_init_module(void)
        /* init pci module */
        ret = pci_register_driver(&mei_driver);
        if (ret < 0)
-               printk(KERN_ERR "mei: Error registering driver.\n");
+               pr_err("error registering driver.\n");
 
        return ret;
 }