diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-08-10 17:45:24 -0400 |
---|---|---|
committer | Samuel Ortiz <samuel@sortiz.org> | 2008-10-19 16:54:09 -0400 |
commit | 80e74a805f0a6662b9b8de519439afd06ac35427 (patch) | |
tree | 84caeea1728a99c4484122a3238e14fd2525d43e /drivers/mfd/sm501.c | |
parent | a87903f3b4fdbb2088d50a12eef872a1b3fa2ba4 (diff) |
mfd: update sm501 debugging/low information messages
Make the default output of the SM501 driver to be less noisy wrt to
message that have low informational value, or simply should be debug.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
Diffstat (limited to 'drivers/mfd/sm501.c')
-rw-r--r-- | drivers/mfd/sm501.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mfd/sm501.c b/drivers/mfd/sm501.c index 7aebad4c06ff..220e4371266b 100644 --- a/drivers/mfd/sm501.c +++ b/drivers/mfd/sm501.c | |||
@@ -623,8 +623,8 @@ unsigned long sm501_set_clock(struct device *dev, | |||
623 | 623 | ||
624 | sm501_sync_regs(sm); | 624 | sm501_sync_regs(sm); |
625 | 625 | ||
626 | dev_info(sm->dev, "gate %08lx, clock %08lx, mode %08lx\n", | 626 | dev_dbg(sm->dev, "gate %08lx, clock %08lx, mode %08lx\n", |
627 | gate, clock, mode); | 627 | gate, clock, mode); |
628 | 628 | ||
629 | sm501_mdelay(sm, 16); | 629 | sm501_mdelay(sm, 16); |
630 | mutex_unlock(&sm->clock_lock); | 630 | mutex_unlock(&sm->clock_lock); |
@@ -742,7 +742,7 @@ static int sm501_register_device(struct sm501_devdata *sm, | |||
742 | int ret; | 742 | int ret; |
743 | 743 | ||
744 | for (ptr = 0; ptr < pdev->num_resources; ptr++) { | 744 | for (ptr = 0; ptr < pdev->num_resources; ptr++) { |
745 | printk("%s[%d] flags %08lx: %08llx..%08llx\n", | 745 | printk(KERN_DEBUG "%s[%d] flags %08lx: %08llx..%08llx\n", |
746 | pdev->name, ptr, | 746 | pdev->name, ptr, |
747 | pdev->resource[ptr].flags, | 747 | pdev->resource[ptr].flags, |
748 | (unsigned long long)pdev->resource[ptr].start, | 748 | (unsigned long long)pdev->resource[ptr].start, |