From mboxrd@z Thu Jan 1 00:00:00 1970 From: $mailname@fluff.org Subject: [patch 1/1] SM501: Update debugging/low information messages Date: Wed, 06 Aug 2008 15:47:17 +0100 Message-ID: <20080806144716.638227184@fluff.org> References: <20080806144716.533792387@fluff.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1KQkIU-0001ZZ-2S for linux-fbdev-devel@lists.sourceforge.net; Wed, 06 Aug 2008 07:47:30 -0700 Received: from hull.simtec.co.uk ([78.105.113.97] helo=ivanova.local.simtec.co.uk) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1KQkIT-0005x7-M6 for linux-fbdev-devel@lists.sourceforge.net; Wed, 06 Aug 2008 07:47:30 -0700 Content-Disposition: inline; filename=simtec/simtec-drivers-mfd-sm501-output-update.patch List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-fbdev-devel-bounces@lists.sourceforge.net Errors-To: linux-fbdev-devel-bounces@lists.sourceforge.net To: akpm@linux-foundatio.org, linux-fbdev-devel@lists.sourceforge.net Cc: Ben Dooks 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 Index: linux-2.6.26-quilt7/drivers/mfd/sm501.c =================================================================== --- linux-2.6.26-quilt7.orig/drivers/mfd/sm501.c 2008-08-05 11:54:26.000000000 +0100 +++ linux-2.6.26-quilt7/drivers/mfd/sm501.c 2008-08-05 11:56:09.000000000 +0100 @@ -624,8 +624,8 @@ unsigned long sm501_set_clock(struct 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); @@ -743,7 +743,7 @@ static int sm501_register_device(struct 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, -- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/