]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
[PATCH] Don't fill up log with atxp1 vcore messages change message
authorPrakash Punnoor <prakash@punnoor.de>
Wed, 29 Jun 2005 12:13:54 +0000 (14:13 +0200)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 29 Jun 2005 16:08:00 +0000 (09:08 -0700)
I am using the atxp1 module to change vcore on my NForce2 via userspace
daemon (see punnoor.de).

Currently the atxp1 module will write to the log on every vcore change,
thus filling up my log - which I don't want.  I am no kernel coder, but
I guess, this one-liner will change this behaviour in a wanted way, ie
output will be made for debug purposes only.

Signed-off-by: Prakash Punnoor <prakash@punnoor.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/i2c/chips/atxp1.c

index 5c6597aa2c7f2fdc7a2c3758bafa87e98b1725c7..0bcf82b4c07bda60c7bcb08345a5a2bcb2b23ed9 100644 (file)
@@ -144,7 +144,7 @@ static ssize_t atxp1_storevcore(struct device *dev, struct device_attribute *att
        if (vid == cvid)
                return count;
 
-       dev_info(dev, "Setting VCore to %d mV (0x%02x)\n", vcore, vid);
+       dev_dbg(dev, "Setting VCore to %d mV (0x%02x)\n", vcore, vid);
 
        /* Write every 25 mV step to increase stability */
        if (cvid > vid) {