Skip to content

Commit

Permalink
mfd: Update WARN uses
Browse files Browse the repository at this point in the history
Remove KERN_<level>.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Joe Perches authored and Samuel Ortiz committed Jan 14, 2011
1 parent 52cfd50 commit e0084aa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/mfd/ezx-pcap.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,7 @@ static void pcap_isr_work(struct work_struct *work)
if (service & 1) {
struct irq_desc *desc = irq_to_desc(irq);

if (WARN(!desc, KERN_WARNING
"Invalid PCAP IRQ %d\n", irq))
if (WARN(!desc, "Invalid PCAP IRQ %d\n", irq))
break;

if (desc->status & IRQ_DISABLED)
Expand Down Expand Up @@ -282,7 +281,7 @@ static irqreturn_t pcap_adc_irq(int irq, void *_pcap)
mutex_lock(&pcap->adc_mutex);
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);
return IRQ_HANDLED;
}
Expand Down

0 comments on commit e0084aa

Please sign in to comment.