Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sh: sh2007: Modernize printing of kernel messages

- 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>

authored by

Geert Uytterhoeven and committed by
Rich Felker
f88c6a26 21afcacb

+2 -2
+2 -2
arch/sh/boards/board-sh2007.c
··· 126 126 */ 127 127 static void __init sh2007_setup(char **cmdline_p) 128 128 { 129 - printk(KERN_INFO "SH-2007 Setup..."); 129 + pr_info("SH-2007 Setup..."); 130 130 131 131 /* setup wait control registers for area 5 */ 132 132 __raw_writel(CS5BCR_D, CS5BCR); 133 133 __raw_writel(CS5WCR_D, CS5WCR); 134 134 __raw_writel(CS5PCR_D, CS5PCR); 135 135 136 - printk(KERN_INFO " done.\n"); 136 + pr_cont(" done.\n"); 137 137 } 138 138 139 139 /*