aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2013-06-06 07:20:27 -0400
committerGrant Likely <grant.likely@linaro.org>2013-06-24 09:02:43 -0400
commit798f0fd188be3656991c8745104b5ee045769a5f (patch)
tree0df0f8ef0592508beb9d7502fbe056913fcbd2ee /kernel/irq
parentc12d2f42a96d72cffa4d9335ca455a2243333c79 (diff)
irq: fix checkpatch error
ERROR: space required before the open parenthesis '(' WARNING: Prefer pr_warn(... to pr_warning(... Just fix above 2 issue. Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'kernel/irq')
-rw-r--r--kernel/irq/irqdomain.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c
index 836a0f7ec2a9..13f265430c25 100644
--- a/kernel/irq/irqdomain.c
+++ b/kernel/irq/irqdomain.c
@@ -396,9 +396,7 @@ unsigned int irq_create_mapping(struct irq_domain *domain,
396 if (domain == NULL) 396 if (domain == NULL)
397 domain = irq_default_domain; 397 domain = irq_default_domain;
398 if (domain == NULL) { 398 if (domain == NULL) {
399 pr_warning("irq_create_mapping called for" 399 WARN(1, "%s(, %lx) called with NULL domain\n", __func__, hwirq);
400 " NULL domain, hwirq=%lx\n", hwirq);
401 WARN_ON(1);
402 return 0; 400 return 0;
403 } 401 }
404 pr_debug("-> using domain @%p\n", domain); 402 pr_debug("-> using domain @%p\n", domain);
@@ -489,8 +487,8 @@ unsigned int irq_create_of_mapping(struct device_node *controller,
489 if (intsize > 0) 487 if (intsize > 0)
490 return intspec[0]; 488 return intspec[0];
491#endif 489#endif
492 pr_warning("no irq domain found for %s !\n", 490 pr_warn("no irq domain found for %s !\n",
493 of_node_full_name(controller)); 491 of_node_full_name(controller));
494 return 0; 492 return 0;
495 } 493 }
496 494