From: Vivien Didelot Date: Tue, 12 Apr 2011 19:34:37 +0000 (-0400) Subject: hwmon: (sht15) clean-up the probe function X-Git-Tag: v3.0-rc1~342^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=181148ae68799f5b17f09b418b276f56e9179e99;p=pandora-kernel.git hwmon: (sht15) clean-up the probe function * Move the creation of sysfs attributes after the end of the initialization, and remove them in the error path. * Release regulator in the error path. * Add a soft reset command (need to wait 11ms before next command). Signed-off-by: Vivien Didelot Acked-by: Jonathan Cameron Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed