diff options
author | Samu Onkalo <samu.p.onkalo@nokia.com> | 2010-10-22 07:57:34 -0400 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2010-10-25 14:44:59 -0700 |
commit | b11e7b3f3b56119194234085d42a633ceabd6aba (patch) | |
tree | ba12e182a53f74f78e8c35f05699b2a7b03f82e3 /Documentation | |
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions