summaryrefslogtreecommitdiff
path: root/drivers/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-04-13 13:49:54 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-04-13 13:49:54 +0900
commit12129fea50edcd696a9556523b058d6c445f21d8 (patch)
tree02242dd533fc1e78fdbda02c894ad23665fbd15d /drivers/sh
parent0ded75428605213641897d6b8d8e9cf9fdb6eb8d (diff)
sh: intc: Tidy up loglevel mismatches.
The printk loglevels are all over the place, make them a bit more coherent, and add some registration notification while we're at it. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh')
-rw-r--r--drivers/sh/intc.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/sh/intc.c b/drivers/sh/intc.c
index b605f7e478d6..65e15828faaa 100644
--- a/drivers/sh/intc.c
+++ b/drivers/sh/intc.c
@@ -860,6 +860,9 @@ int __init register_intc_controller(struct intc_desc *desc)
struct intc_desc_int *d;
struct resource *res;
+ pr_info("intc: Registered controller '%s' with %u IRQs\n",
+ desc->name, hw->nr_vectors);
+
d = kzalloc(sizeof(*d), GFP_NOWAIT);
if (!d)
goto err0;
@@ -974,7 +977,7 @@ int __init register_intc_controller(struct intc_desc *desc)
irq_desc = irq_to_desc_alloc_node(irq, numa_node_id());
if (unlikely(!irq_desc)) {
- pr_info("can't get irq_desc for %d\n", irq);
+ pr_err("can't get irq_desc for %d\n", irq);
continue;
}
@@ -994,7 +997,7 @@ int __init register_intc_controller(struct intc_desc *desc)
*/
irq_desc = irq_to_desc_alloc_node(irq2, numa_node_id());
if (unlikely(!irq_desc)) {
- pr_info("can't get irq_desc for %d\n", irq2);
+ pr_err("can't get irq_desc for %d\n", irq2);
continue;
}
@@ -1121,7 +1124,7 @@ static int __init register_intc_sysdevs(void)
}
if (error)
- pr_warning("intc: sysdev registration error\n");
+ pr_err("intc: sysdev registration error\n");
return error;
}
@@ -1154,7 +1157,7 @@ unsigned int create_irq_nr(unsigned int irq_want, int node)
desc = irq_to_desc_alloc_node(new, node);
if (unlikely(!desc)) {
- pr_info("can't get irq_desc for %d\n", new);
+ pr_err("can't get irq_desc for %d\n", new);
goto out_unlock;
}