diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-07-19 00:18:50 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-20 00:27:39 -0400 |
commit | 2a26302164e0d26df94810ffa2eabcad0fc55c95 (patch) | |
tree | 0d9c080b48e763ab4d8475cb0c039d8ad5ec4ee9 /arch/sparc64 | |
parent | 91ba3c2128e9ee490a9f04bcd5b54749b18e4410 (diff) |
[SPARC64]: Tweak kernel log messages in power_probe().
Use KERN_INFO, add missing newline, etc.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64')
-rw-r--r-- | arch/sparc64/kernel/power.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/sparc64/kernel/power.c b/arch/sparc64/kernel/power.c index 7471e844724d..39f9f6494d4c 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 | |||
83 | 83 | ||
84 | power_reg = of_ioremap(res, 0, 0x4, "power"); | 84 | power_reg = of_ioremap(res, 0, 0x4, "power"); |
85 | 85 | ||
86 | printk("%s: Control reg at %lx ... ", | 86 | printk(KERN_INFO "%s: Control reg at %lx\n", |
87 | op->node->name, res->start); | 87 | op->node->name, res->start); |
88 | 88 | ||
89 | poweroff_method = machine_halt; /* able to use the standard halt */ | 89 | 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 | if (request_irq(irq, | 92 | if (request_irq(irq, |
93 | power_handler, 0, "power", NULL) < 0) | 93 | power_handler, 0, "power", NULL) < 0) |
94 | printk(KERN_ERR "power: Cannot setup IRQ handler.\n"); | 94 | printk(KERN_ERR "power: Cannot setup IRQ handler.\n"); |
95 | } else { | ||
96 | printk(KERN_INFO "power: Not using powerd.\n"); | ||
97 | } | 95 | } |
98 | 96 | ||
99 | return 0; | 97 | return 0; |