Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 80e74a80 authored by Ben Dooks's avatar Ben Dooks Committed by Samuel Ortiz
Browse files

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: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarSamuel Ortiz <sameo@openedhand.com>
parent a87903f3
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -623,7 +623,7 @@ unsigned long sm501_set_clock(struct device *dev,

	sm501_sync_regs(sm);

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

	sm501_mdelay(sm, 16);
@@ -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,