commit | b11e7b3f3b56119194234085d42a633ceabd6aba | [log] [tgz] |
---|---|---|
author | Samu Onkalo <samu.p.onkalo@nokia.com> | Fri Oct 22 07:57:34 2010 -0400 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Mon Oct 25 14:44:59 2010 -0700 |
tree | ba12e182a53f74f78e8c35f05699b2a7b03f82e3 | |
parent | 83af1bd81f7b7fb31a681b0c80790866f190d23a [diff] |
hwmon: lis3: Release resources in case of failure If lis3lv02d_init_device fails, HW resources were not released properly. In case of failure call release_resources if available. Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com> Acked-by: Eric Piel <eric.piel@tremplin-utc.net> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>