diff options
author | Samu Onkalo <[email protected]> | 2010-10-22 07:57:34 -0400 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2010-10-25 14:44:59 -0700 |
commit | b11e7b3f3b56119194234085d42a633ceabd6aba (patch) | |
tree | ba12e182a53f74f78e8c35f05699b2a7b03f82e3 /net/unix/sysctl_net_unix.c | |
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 <[email protected]>
Acked-by: Eric Piel <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions