Commit 2a263021 authored by David S. Miller's avatar David S. Miller

[SPARC64]: Tweak kernel log messages in power_probe().

Use KERN_INFO, add missing newline, etc.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 91ba3c21
...@@ -83,7 +83,7 @@ static int __devinit power_probe(struct of_device *op, const struct of_device_id ...@@ -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"); 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); op->node->name, res->start);
poweroff_method = machine_halt; /* able to use the standard halt */ 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 ...@@ -92,8 +92,6 @@ static int __devinit power_probe(struct of_device *op, const struct of_device_id
if (request_irq(irq, if (request_irq(irq,
power_handler, 0, "power", NULL) < 0) power_handler, 0, "power", NULL) < 0)
printk(KERN_ERR "power: Cannot setup IRQ handler.\n"); printk(KERN_ERR "power: Cannot setup IRQ handler.\n");
} else {
printk(KERN_INFO "power: Not using powerd.\n");
} }
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment