提交 e0084aa9 编写于 作者: J Joe Perches 提交者: Samuel Ortiz

mfd: Update WARN uses

Remove KERN_<level>.
Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 52cfd503
...@@ -199,8 +199,7 @@ static void pcap_isr_work(struct work_struct *work) ...@@ -199,8 +199,7 @@ static void pcap_isr_work(struct work_struct *work)
if (service & 1) { if (service & 1) {
struct irq_desc *desc = irq_to_desc(irq); struct irq_desc *desc = irq_to_desc(irq);
if (WARN(!desc, KERN_WARNING if (WARN(!desc, "Invalid PCAP IRQ %d\n", irq))
"Invalid PCAP IRQ %d\n", irq))
break; break;
if (desc->status & IRQ_DISABLED) if (desc->status & IRQ_DISABLED)
...@@ -282,7 +281,7 @@ static irqreturn_t pcap_adc_irq(int irq, void *_pcap) ...@@ -282,7 +281,7 @@ static irqreturn_t pcap_adc_irq(int irq, void *_pcap)
mutex_lock(&pcap->adc_mutex); mutex_lock(&pcap->adc_mutex);
req = pcap->adc_queue[pcap->adc_head]; req = pcap->adc_queue[pcap->adc_head];
if (WARN(!req, KERN_WARNING "adc irq without pending request\n")) { if (WARN(!req, "adc irq without pending request\n")) {
mutex_unlock(&pcap->adc_mutex); mutex_unlock(&pcap->adc_mutex);
return IRQ_HANDLED; return IRQ_HANDLED;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册