commit | 181148ae68799f5b17f09b418b276f56e9179e99 | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Tue Apr 12 15:34:37 2011 -0400 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Thu May 19 08:19:34 2011 -0700 |
tree | a0252fec3f94fb65459ef1fbb9956de046f06744 | |
parent | 99a0378de9f887fd4d501f1baa50aaf16d01a8e8 [diff] |
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 <vivien.didelot@savoirfairelinux.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>