summaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2011-04-12 15:34:37 -0400
committerGuenter Roeck <guenter.roeck@ericsson.com>2011-05-19 08:19:34 -0700
commit181148ae68799f5b17f09b418b276f56e9179e99 (patch)
treea0252fec3f94fb65459ef1fbb9956de046f06744 /Documentation/hwmon
parent99a0378de9f887fd4d501f1baa50aaf16d01a8e8 (diff)
downloadlinux-stable-181148ae68799f5b17f09b418b276f56e9179e99.tar.gz
linux-stable-181148ae68799f5b17f09b418b276f56e9179e99.tar.bz2
linux-stable-181148ae68799f5b17f09b418b276f56e9179e99.zip
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>
Diffstat (limited to 'Documentation/hwmon')
0 files changed, 0 insertions, 0 deletions