]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/char: Convert remaining use of pr_warning to pr_warn
authorJoe Perches <joe@perches.com>
Fri, 17 Feb 2017 07:11:26 +0000 (23:11 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2017 06:10:49 +0000 (15:10 +0900)
To enable eventual removal of pr_warning

This makes pr_warn use consistent for drivers/char

Prior to this patch, there were 1 use of pr_warning and
40 uses of pr_warn in drivers/char

Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Amit Shah <amit@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/virtio_console.c

index e9b7e0b3cabe60d3be3ab8a092159b137854d8ec..c6f760b3d9d7df51fa690a6b02a08c5d03462da0 100644 (file)
@@ -2302,7 +2302,7 @@ static int __init init(void)
 
        pdrvdata.debugfs_dir = debugfs_create_dir("virtio-ports", NULL);
        if (!pdrvdata.debugfs_dir)
-               pr_warning("Error creating debugfs dir for virtio-ports\n");
+               pr_warn("Error creating debugfs dir for virtio-ports\n");
        INIT_LIST_HEAD(&pdrvdata.consoles);
        INIT_LIST_HEAD(&pdrvdata.portdevs);