hwmon: (adt7475) Improve device detection
authorJean Delvare <[email protected]>
Wed, 9 Dec 2009 19:36:04 +0000 (20:36 +0100)
committerJean Delvare <[email protected]>
Wed, 9 Dec 2009 19:36:04 +0000 (20:36 +0100)
commitd656b6fde2531a13c4e68a3ce6b9f12bc19d96bb
treeadaafb9bb7beaaf402c039ed930f86c9789d2872
parent54ecb9e3c194687eebabe7ca45bae889ac1cd4de
hwmon: (adt7475) Improve device detection

Check the value of register 0x3f as part of the device detection, to
make it more robust.

Signed-off-by: Jean Delvare <[email protected]>
Cc: Hans de Goede <[email protected]>
Cc: Jordan Crouse <[email protected]>
Cc: "Darrick J. Wong" <[email protected]>
drivers/hwmon/adt7475.c