From: Jean Delvare Date: Thu, 27 May 2010 17:58:59 +0000 (+0200) Subject: hwmon: (tmp102) Don't always stop chip at exit X-Git-Tag: v2.6.35-rc1~33^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38806bda6b7c8473c47a967a514260c1a1c32c2e;p=pandora-kernel.git hwmon: (tmp102) Don't always stop chip at exit Only stop the chip at driver exit if it was stopped when driver was loaded. Leave it running otherwise. Also restore the device configuration if probe failed, to not leave the system in a dangling state. Signed-off-by: Jean Delvare Cc: Steven King --- Reading git-diff-tree failed