Skip to content

Commit

Permalink
[SPARC64]: Tweak kernel log messages in power_probe().
Browse files Browse the repository at this point in the history
Use KERN_INFO, add missing newline, etc.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jul 20, 2007
1 parent 91ba3c2 commit 2a26302
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/sparc64/kernel/power.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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;
Expand Down

0 comments on commit 2a26302

Please sign in to comment.