diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2016-12-06 17:14:40 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2017-02-12 10:36:52 +0100 |
commit | 4eee1e72ad06bdc942b8f8c221d49691ef232c56 (patch) | |
tree | f2cca884491d73734f3b54245b52a91bec7376d1 /arch/m68k/sun3x/prom.c | |
parent | 56bbd86257f899ced7ef9c58210dda4edbd40871 (diff) | |
download | linux-4eee1e72ad06bdc942b8f8c221d49691ef232c56.tar.bz2 |
m68k/sun3x: Modernize printing of kernel messages
- Convert from printk() to pr_*(),
- Remove #undef DEBUG,
- Drop useless Warning prefix,
- Use TABs for indentation while at it.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/sun3x/prom.c')
-rw-r--r-- | arch/m68k/sun3x/prom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/sun3x/prom.c b/arch/m68k/sun3x/prom.c index 0898c3f81508..5d60e65c1ee5 100644 --- a/arch/m68k/sun3x/prom.c +++ b/arch/m68k/sun3x/prom.c @@ -106,9 +106,9 @@ void __init sun3x_prom_init(void) idprom_init(); if (!((idprom->id_machtype & SM_ARCH_MASK) == SM_SUN3X)) { - printk("Warning: machine reports strange type %02x\n", + pr_warn("Machine reports strange type %02x\n", idprom->id_machtype); - printk("Pretending it's a 3/80, but very afraid...\n"); + pr_warn("Pretending it's a 3/80, but very afraid...\n"); idprom->id_machtype = SM_SUN3X | SM_3_80; } |