aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Patard <arnaud.patard@rtp-net.org>2009-08-27 11:37:49 +0400
committerPaul Fertser <fercerpav@gmail.com>2009-09-02 00:49:51 +0400
commit05d6078079f605ea8740b9e7d87e421d1662222e (patch)
tree050b32f63fe1987f270bb96543fa0f440822b7df
parent8851834038aec76c07454f3620fa9fb1506e7217 (diff)
pcf50606: move messages to appropriate log levels
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Paul Fertser <fercerpav@gmail.com>
-rw-r--r--drivers/mfd/pcf50606-core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mfd/pcf50606-core.c b/drivers/mfd/pcf50606-core.c
index 7c4fb42b460..09ce70b9b79 100644
--- a/drivers/mfd/pcf50606-core.c
+++ b/drivers/mfd/pcf50606-core.c
@@ -282,7 +282,7 @@ out:
int pcf50606_irq_mask(struct pcf50606 *pcf, int irq)
{
- dev_info(pcf->dev, "Masking IRQ %d\n", irq);
+ dev_dbg(pcf->dev, "Masking IRQ %d\n", irq);
return __pcf50606_irq_mask_set(pcf, irq, 1);
}
@@ -290,7 +290,7 @@ EXPORT_SYMBOL_GPL(pcf50606_irq_mask);
int pcf50606_irq_unmask(struct pcf50606 *pcf, int irq)
{
- dev_info(pcf->dev, "Unmasking IRQ %d\n", irq);
+ dev_dbg(pcf->dev, "Unmasking IRQ %d\n", irq);
return __pcf50606_irq_mask_set(pcf, irq, 0);
}
@@ -330,7 +330,7 @@ static void pcf50606_irq_worker(struct work_struct *work)
ret = pcf50606_read_block(pcf, PCF50606_REG_INT1,
ARRAY_SIZE(pcf_int), pcf_int);
if (ret != ARRAY_SIZE(pcf_int)) {
- dev_info(pcf->dev, "Error reading INT registers\n");
+ dev_err(pcf->dev, "Error reading INT registers\n");
/*
* If this doesn't ACK the interrupt to the chip, we'll be