From: Per Dalén Date: Thu, 26 May 2011 13:08:53 +0000 (-0400) Subject: hwmon: (max6642): Better chip detection schema X-Git-Tag: v3.0-rc2~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=942c1a927bf296fd64fd49f04c5a8f66bb14446b;p=pandora-kernel.git hwmon: (max6642): Better chip detection schema Improve detection of MAX6642 by reading non existing registers (0x04, 0x06 and 0xff). Reading those registers returns the previously read value. Signed-off-by: Per Dalen [guenter.roeck@ericsson.com: added second set of register reads] Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed