diff options
-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 5bc6e5ecc493..f8914b92b664 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c | |||
@@ -260,9 +260,7 @@ int set_irq_wake(unsigned int irq, unsigned int on) | |||
260 | } | 260 | } |
261 | } else { | 261 | } else { |
262 | if (desc->wake_depth == 0) { | 262 | if (desc->wake_depth == 0) { |
263 | printk(KERN_WARNING "Unbalanced IRQ %d " | 263 | WARN(1, "Unbalanced IRQ %d wake disable\n", irq); |
264 | "wake disable\n", irq); | ||
265 | WARN_ON(1); | ||
266 | } else if (--desc->wake_depth == 0) { | 264 | } else if (--desc->wake_depth == 0) { |
267 | ret = set_irq_wake_real(irq, on); | 265 | ret = set_irq_wake_real(irq, on); |
268 | if (ret) | 266 | if (ret) |