diff options
author | Jean Delvare <khali@linux-fr.org> | 2011-11-04 12:00:46 +0100 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2011-11-04 12:00:46 +0100 |
commit | 547a1c99d0052c8bee0a8fe4091e6a9094c3cde3 (patch) | |
tree | 59b992509ab6c0a24df9f0391e1f974ff6269c6f /drivers/ide/cs5520.c | |
parent | 24d6e2a89a1ff0a035f163a83a2812a3192083b6 (diff) |
hwmon: (ibmaem) Fix error paths
I am under the impression that error paths in functions
aem_init_aem1_inst() and aem_init_aem2_inst() are incorrect. In
several cases, the function returns 0 on error, which I suspect is
not intended. Fix this by properly tracking error codes.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Darrick J. Wong <djwong@us.ibm.com>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/ide/cs5520.c')
0 files changed, 0 insertions, 0 deletions