From: Geert Uytterhoeven Date: Wed, 17 Jun 2020 14:36:37 +0000 (+0200) Subject: sh: sh2007: Modernize printing of kernel messages X-Git-Tag: baikal/mips/sdk5.9~12876^2~20 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=c85b75241ca594b6660fae07f357f6a4c2ba68ca;p=kernel.git sh: sh2007: Modernize printing of kernel messages - Convert from printk() to pr_*(), - Add missing continuation. Signed-off-by: Geert Uytterhoeven Tested-by: Guenter Roeck Signed-off-by: Rich Felker --- diff --git a/arch/sh/boards/board-sh2007.c b/arch/sh/boards/board-sh2007.c index ef9c87deeb088..6ea85e4808512 100644 --- a/arch/sh/boards/board-sh2007.c +++ b/arch/sh/boards/board-sh2007.c @@ -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"); } /*