diff options
author | Joe Perches <joe@perches.com> | 2010-10-30 17:08:32 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-01-14 06:37:30 -0500 |
commit | e0084aa9e0ce157a5f53d9d39657a00d24dc6a66 (patch) | |
tree | afb5692fab62cc8bde732897eec3313f840bd2c8 /drivers/mfd/ezx-pcap.c | |
parent | 52cfd503ad7176d23a5dd7af3981744feb60622f (diff) |
mfd: Update WARN uses
Remove KERN_<level>.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/ezx-pcap.c')
-rw-r--r-- | drivers/mfd/ezx-pcap.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/mfd/ezx-pcap.c b/drivers/mfd/ezx-pcap.c index c2b698d69a93..4f6742753c41 100644 --- a/drivers/mfd/ezx-pcap.c +++ b/drivers/mfd/ezx-pcap.c | |||
@@ -199,8 +199,7 @@ static void pcap_isr_work(struct work_struct *work) | |||
199 | if (service & 1) { | 199 | if (service & 1) { |
200 | struct irq_desc *desc = irq_to_desc(irq); | 200 | struct irq_desc *desc = irq_to_desc(irq); |
201 | 201 | ||
202 | if (WARN(!desc, KERN_WARNING | 202 | if (WARN(!desc, "Invalid PCAP IRQ %d\n", irq)) |
203 | "Invalid PCAP IRQ %d\n", irq)) | ||
204 | break; | 203 | break; |
205 | 204 | ||
206 | if (desc->status & IRQ_DISABLED) | 205 | if (desc->status & IRQ_DISABLED) |
@@ -282,7 +281,7 @@ static irqreturn_t pcap_adc_irq(int irq, void *_pcap) | |||
282 | mutex_lock(&pcap->adc_mutex); | 281 | mutex_lock(&pcap->adc_mutex); |
283 | req = pcap->adc_queue[pcap->adc_head]; | 282 | req = pcap->adc_queue[pcap->adc_head]; |
284 | 283 | ||
285 | if (WARN(!req, KERN_WARNING "adc irq without pending request\n")) { | 284 | if (WARN(!req, "adc irq without pending request\n")) { |
286 | mutex_unlock(&pcap->adc_mutex); | 285 | mutex_unlock(&pcap->adc_mutex); |
287 | return IRQ_HANDLED; | 286 | return IRQ_HANDLED; |
288 | } | 287 | } |