mips: msp71xx/serial: convert to pr_foo() helpers
authorJamie Iles <jamie@jamieiles.com>
Mon, 15 Aug 2011 09:17:53 +0000 (10:17 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 17:52:59 +0000 (10:52 -0700)
Convert to pr_foo() helpers rather than printk(KERN_.*).

Acked-by: Ralf Baechle <ralf@linux-mips.org>
Acked-by: Anoop P A<Anoop_P.A@pmc-sierra.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/mips/pmc-sierra/msp71xx/msp_serial.c

index f7261628d8a60ec209d346232dbeab94874acb18..c3247b5801f16c887bd45b4fd4d5e7870b0f9436 100644 (file)
@@ -65,7 +65,7 @@ void __init msp_serial_setup(void)
        up.line         = 0;
        up.private_data         = (void*)UART0_STATUS_REG;
        if (early_serial_setup(&up))
-               printk(KERN_ERR "Early serial init of port 0 failed\n");
+               pr_err("Early serial init of port 0 failed\n");
 
        /* Initialize the second serial port, if one exists */
        switch (mips_machtype) {
@@ -89,5 +89,5 @@ void __init msp_serial_setup(void)
        up.line         = 1;
        up.private_data         = (void*)UART1_STATUS_REG;
        if (early_serial_setup(&up))
-               printk(KERN_ERR "Early serial init of port 1 failed\n");
+               pr_err("Early serial init of port 1 failed\n");
 }