Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10598
b: refs/heads/master
c: cb929ea
h: refs/heads/master
v: v3
  • Loading branch information
Jean Delvare authored and Greg Kroah-Hartman committed Oct 28, 2005
1 parent 0fdffb6 commit d40fc33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 709439a284bc5b7d42a70fee7119feb186c1ca99
refs/heads/master: cb929eae78ec0b243dbf58039bce4af354f6020c
4 changes: 2 additions & 2 deletions trunk/drivers/hwmon/w83l785ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ I2C_CLIENT_INSMOD_1(w83l785ts);
* The W83L785TS-S uses signed 8-bit values.
*/

#define TEMP_FROM_REG(val) ((val & 0x80 ? val-0x100 : val) * 1000)
#define TEMP_FROM_REG(val) ((val) * 1000)

/*
* Functions declaration
Expand Down Expand Up @@ -112,7 +112,7 @@ struct w83l785ts_data {
unsigned long last_updated; /* in jiffies */

/* registers values */
u8 temp[2]; /* 0: input
s8 temp[2]; /* 0: input
1: critical limit */
};

Expand Down

0 comments on commit d40fc33

Please sign in to comment.