Skip to content

Commit f88c6a2

Browse files
geertuRich Felker
authored andcommitted
sh: sh2007: Modernize printing of kernel messages
- Convert from printk() to pr_*(), - Add missing continuation. Signed-off-by: Geert Uytterhoeven <[email protected]> Tested-by: Guenter Roeck <[email protected]> Signed-off-by: Rich Felker <[email protected]>
1 parent 21afcac commit f88c6a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/sh/boards/board-sh2007.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,14 @@ static void __init sh2007_init_irq(void)
126126
*/
127127
static void __init sh2007_setup(char **cmdline_p)
128128
{
129-
printk(KERN_INFO "SH-2007 Setup...");
129+
pr_info("SH-2007 Setup...");
130130

131131
/* setup wait control registers for area 5 */
132132
__raw_writel(CS5BCR_D, CS5BCR);
133133
__raw_writel(CS5WCR_D, CS5WCR);
134134
__raw_writel(CS5PCR_D, CS5PCR);
135135

136-
printk(KERN_INFO " done.\n");
136+
pr_cont(" done.\n");
137137
}
138138

139139
/*

0 commit comments

Comments
 (0)