From: Jean Delvare Date: Thu, 27 May 2010 17:58:58 +0000 (+0200) Subject: hwmon: (tmp102) Fix suspend and resume functions X-Git-Tag: v2.6.35-rc1~33^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d4dee98b10050db9c32a449e460a2f69bb558ec;p=pandora-kernel.git hwmon: (tmp102) Fix suspend and resume functions Suspend and resume functions shouldn't overwrite the configuration register. They should only alter the one bit they have to touch. Also don't assume that register reads and writes always succeed. Handle errors properly, shall they happen. Signed-off-by: Jean Delvare Cc: Steven King --- Reading git-diff-tree failed