diff options
Diffstat (limited to 'kernel/irq')
-rw-r--r-- | kernel/irq/manage.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 63b93a935565..7d73e008fc3b 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c | |||
@@ -267,9 +267,7 @@ int set_irq_wake(unsigned int irq, unsigned int on) | |||
267 | } | 267 | } |
268 | } else { | 268 | } else { |
269 | if (desc->wake_depth == 0) { | 269 | if (desc->wake_depth == 0) { |
270 | printk(KERN_WARNING "Unbalanced IRQ %d " | 270 | WARN(1, "Unbalanced IRQ %d wake disable\n", irq); |
271 | "wake disable\n", irq); | ||
272 | WARN_ON(1); | ||
273 | } else if (--desc->wake_depth == 0) { | 271 | } else if (--desc->wake_depth == 0) { |
274 | ret = set_irq_wake_real(irq, on); | 272 | ret = set_irq_wake_real(irq, on); |
275 | if (ret) | 273 | if (ret) |