]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
hwmon: (adt7475) Improve device detection
authorJean Delvare <khali@linux-fr.org>
Wed, 9 Dec 2009 19:36:04 +0000 (20:36 +0100)
committerJean Delvare <khali@linux-fr.org>
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 <khali@linux-fr.org>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Jordan Crouse <jordan@cosmicpenguin.net>
Cc: "Darrick J. Wong" <djwong@us.ibm.com>
drivers/hwmon/adt7475.c