[SPARC64]: Tweak kernel log messages in power_probe().
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 19 Jul 2007 04:18:50 +0000 (21:18 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 20 Jul 2007 04:27:39 +0000 (21:27 -0700)
Use KERN_INFO, add missing newline, etc.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/power.c

index 7471e844724dc8071a9b074d6c653aced6ddbb94..39f9f6494d4c2f5486ca8d108d23a7922af6efd6 100644 (file)
@@ -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;