projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
serial: sh: Add support R8A7795
[oweals/u-boot.git]
/
drivers
/
hwmon
/
lm81.c
diff --git
a/drivers/hwmon/lm81.c
b/drivers/hwmon/lm81.c
index c1fc42a83321d002f4c971844e956a447a88916b..bcc8d3293b5639b6b6e97c21d6653127835a1410 100644
(file)
--- a/
drivers/hwmon/lm81.c
+++ b/
drivers/hwmon/lm81.c
@@
-90,7
+90,7
@@
int dtt_init_one(int sensor)
if (adr < 0)
return 1;
rev = dtt_read (sensor, DTT_REV);
- if (
adr
< 0)
+ if (
rev
< 0)
return 1;
debug ("DTT: Found LM81@%x Rev: %d\n", adr, rev);