diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2011-04-12 15:34:37 -0400 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-05-19 08:19:34 -0700 |
commit | 181148ae68799f5b17f09b418b276f56e9179e99 (patch) | |
tree | a0252fec3f94fb65459ef1fbb9956de046f06744 /sound/drivers/dummy.c | |
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>
Diffstat (limited to 'sound/drivers/dummy.c')
0 files changed, 0 insertions, 0 deletions