aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm77.c
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 /drivers/hwmon/lm77.c
parenthwmon: (sht15) general code clean-up (diff)
downloadlinux-dev-181148ae68799f5b17f09b418b276f56e9179e99.tar.xz
linux-dev-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 'drivers/hwmon/lm77.c')
0 files changed, 0 insertions, 0 deletions