]> git.baikalelectronics.ru Git - kernel.git/commitdiff
sh: sh2007: Modernize printing of kernel messages
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 17 Jun 2020 14:36:37 +0000 (16:36 +0200)
committerRich Felker <dalias@libc.org>
Sat, 15 Aug 2020 02:05:10 +0000 (22:05 -0400)
  - Convert from printk() to pr_*(),
  - Add missing continuation.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/boards/board-sh2007.c

index ef9c87deeb08828c9305b6fb946c0b8a9283e926..6ea85e4808512f94a92b4580820f0fe95c647c8f 100644 (file)
@@ -126,14 +126,14 @@ static void __init sh2007_init_irq(void)
  */
 static void __init sh2007_setup(char **cmdline_p)
 {
-       printk(KERN_INFO "SH-2007 Setup...");
+       pr_info("SH-2007 Setup...");
 
        /* setup wait control registers for area 5 */
        __raw_writel(CS5BCR_D, CS5BCR);
        __raw_writel(CS5WCR_D, CS5WCR);
        __raw_writel(CS5PCR_D, CS5PCR);
 
-       printk(KERN_INFO " done.\n");
+       pr_cont(" done.\n");
 }
 
 /*