From 2a26302164e0d26df94810ffa2eabcad0fc55c95 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Wed, 18 Jul 2007 21:18:50 -0700 Subject: [PATCH] [SPARC64]: Tweak kernel log messages in power_probe(). Use KERN_INFO, add missing newline, etc. Signed-off-by: David S. Miller --- arch/sparc64/kernel/power.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/sparc64/kernel/power.c b/arch/sparc64/kernel/power.c index 7471e84472..39f9f6494d 100644 --- a/arch/sparc64/kernel/power.c +++ b/arch/sparc64/kernel/power.c @@ -83,7 +83,7 @@ static int __devinit power_probe(struct of_device *op, const struct of_device_id power_reg = of_ioremap(res, 0, 0x4, "power"); - printk("%s: Control reg at %lx ... ", + printk(KERN_INFO "%s: Control reg at %lx\n", op->node->name, res->start); poweroff_method = machine_halt; /* able to use the standard halt */ @@ -92,8 +92,6 @@ static int __devinit power_probe(struct of_device *op, const struct of_device_id if (request_irq(irq, power_handler, 0, "power", NULL) < 0) printk(KERN_ERR "power: Cannot setup IRQ handler.\n"); - } else { - printk(KERN_INFO "power: Not using powerd.\n"); } return 0; -- 2.39.5