Skip to content

Commit

Permalink
[PATCH] Don't fill up log with atxp1 vcore messages change message
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Prakash Punnoor authored and Linus Torvalds committed Jun 29, 2005
1 parent fd782a4 commit 164cad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/i2c/chips/atxp1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 164cad9

Please sign in to comment.