diff options
author | Darrick J. Wong <djwong@us.ibm.com> | 2009-03-10 12:55:47 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-03-10 15:55:10 -0700 |
commit | c15ade65788b70797c947f7de3e049e6a23f407f (patch) | |
tree | cc19185bd91f520046864cf3725e4d2da0ae590b /drivers/hwmon/adt7470.c | |
parent | b943c460ff8556a193b28e2145b513f8b978e869 (diff) |
lm85: fix the version check that broke adt7468 probing
The verstep check in the lm85 driver fails because the upper nibble of
the version register is 0x7, not 0x6, on the adt7468 chip. Probing of
all adt7468s was broken by 69fc1feba2d5856ff74dedb6ae9d8c490210825c
("hwmon: (lm85) Rework the device detection"), and this patch fixes
that. Also add in a missing i2c_device_id that accidentally got dropped
from the original patch.
Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon/adt7470.c')
0 files changed, 0 insertions, 0 deletions