]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
m68k/bvme6000: Modernize printing of kernel messages
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 6 Dec 2016 16:02:53 +0000 (17:02 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 12 Feb 2017 09:36:50 +0000 (10:36 +0100)
Convert from printk() to pr_*().

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/bvme6000/config.c
arch/m68k/bvme6000/rtc.c

index 611d4d9ea2bd80aca5cdbf8425fcdbe4c2e8f67b..2cfff47650407479cae907205df89ea039934a37 100644 (file)
@@ -63,8 +63,8 @@ void bvme6000_reset(void)
 {
        volatile PitRegsPtr pit = (PitRegsPtr)BVME_PIT_BASE;
 
-       printk ("\r\n\nCalled bvme6000_reset\r\n"
-                       "\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r");
+       pr_info("\r\n\nCalled bvme6000_reset\r\n"
+               "\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r");
        /* The string of returns is to delay the reset until the whole
         * message is output. */
        /* Enable the watchdog, via PIT port C bit 4 */
@@ -117,8 +117,8 @@ void __init config_bvme6000(void)
     mach_reset          = bvme6000_reset;
     mach_get_model       = bvme6000_get_model;
 
-    printk ("Board is %sconfigured as a System Controller\n",
-               *config_reg_ptr & BVME_CONFIG_SW1 ? "" : "not ");
+    pr_info("Board is %sconfigured as a System Controller\n",
+           *config_reg_ptr & BVME_CONFIG_SW1 ? "" : "not ");
 
     /* Now do the PIT configuration */
 
index d53c9b301f84af754677190bcd021f50595bd3af..e4f1faffe32bad16b950dfd51037077d6df372eb 100644 (file)
@@ -168,7 +168,7 @@ static int __init rtc_DP8570A_init(void)
        if (!MACH_IS_BVME6000)
                return -ENODEV;
 
-       printk(KERN_INFO "DP8570A Real Time Clock Driver v%s\n", RTC_VERSION);
+       pr_info("DP8570A Real Time Clock Driver v%s\n", RTC_VERSION);
        return misc_register(&rtc_dev);
 }
 module_init(rtc_DP8570A_init);