mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-08 16:11:26 +00:00
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:
1 parent
4967880163
commit
3979540106
2 files changed
+3
-2
No files matched your search
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user