bmcsensors: Fix debugging messages.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4322 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2007-02-15 10:17:37 +00:00
1 parent 4967880163
commit 3979540106
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -3,6 +3,7 @@ lm_sensors CHANGES file
SVN HEAD
Man page i2cdetect.8: Scanning range can be restricted
Module bmcsensors: Fix debugging messages
Module i2c-amd8111: Cleanups (2.6 backport)
Fix initialization race (2.6 backport)
Module i2c-nforce2: Drop unused reference to pci_dev (2.6 backport)
+2 -2
View File
@@ -880,7 +880,7 @@ static void bmcsensors_update_client(struct i2c_client *client)
if(state != STATE_READING) {
state = STATE_READING;
#ifdef DEBUG
printk(KERN_DEBUG "bmcsensors.o: starting update\n", j);
printk(KERN_DEBUG "bmcsensors.o: starting update\n");
#endif
bmcsensors_get_reading(client, 0);
}
@@ -888,7 +888,7 @@ static void bmcsensors_update_client(struct i2c_client *client)
while(state == STATE_READING && j++ < 100)
bmc_do_pause(HZ / 25);
#ifdef DEBUG
printk("bmcsensors.o: update complete; j = %d\n", j);
printk(KERN_DEBUG "bmcsensors.o: update complete; j = %d\n", j);
#endif
data->last_updated = jiffies;
data->valid = 1;