Skip to content

Commit

Permalink
mfd: update sm501 debugging/low information messages
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ben Dooks authored and Samuel Ortiz committed Oct 19, 2008
1 parent a87903f commit 80e74a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/mfd/sm501.c
Original file line number Diff line number Diff line change
Expand Up @@ -623,8 +623,8 @@ unsigned long sm501_set_clock(struct device *dev,

sm501_sync_regs(sm);

dev_info(sm->dev, "gate %08lx, clock %08lx, mode %08lx\n",
gate, clock, mode);
dev_dbg(sm->dev, "gate %08lx, clock %08lx, mode %08lx\n",
gate, clock, mode);

sm501_mdelay(sm, 16);
mutex_unlock(&sm->clock_lock);
Expand Down Expand Up @@ -742,7 +742,7 @@ static int sm501_register_device(struct sm501_devdata *sm,
int ret;

for (ptr = 0; ptr < pdev->num_resources; ptr++) {
printk("%s[%d] flags %08lx: %08llx..%08llx\n",
printk(KERN_DEBUG "%s[%d] flags %08lx: %08llx..%08llx\n",
pdev->name, ptr,
pdev->resource[ptr].flags,
(unsigned long long)pdev->resource[ptr].start,
Expand Down

0 comments on commit 80e74a8

Please sign in to comment.