From: Guenter Roeck Date: Fri, 23 Mar 2012 09:02:18 +0000 (+0100) Subject: hwmon: (lm90) Restore original configuration if probe function fails X-Git-Tag: v3.4-rc1~111^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7001bb063ec06e7fff8782146a7bed49dfe6507;p=pandora-kernel.git hwmon: (lm90) Restore original configuration if probe function fails The lm90 driver restores the original chip configuration in its exit function. However, the chip configuration is not restored if the probe function fails. Restore it there as well. Signed-off-by: Guenter Roeck Signed-off-by: Jean Delvare --- Reading git-diff-tree failed