Skip to content

Commit

Permalink
mips: msp71xx/serial: convert to pr_foo() helpers
Browse files Browse the repository at this point in the history
Convert to pr_foo() helpers rather than printk(KERN_.*).

Acked-by: Ralf Baechle <[email protected]>
Acked-by: Anoop P A<[email protected]>
Acked-by: Alan Cox <[email protected]>
Signed-off-by: Jamie Iles <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
jamieiles authored and gregkh committed Aug 23, 2011
1 parent 583d28e commit 91e8db5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/mips/pmc-sierra/msp71xx/msp_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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");
}

0 comments on commit 91e8db5

Please sign in to comment.