Jean Delvare 547a1c99d0 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>
2011-11-04 12:00:46 +01:00
..
2011-11-03 11:22:44 -07:00
2011-11-04 12:00:46 +01:00
2011-10-28 15:03:54 +09:00
2011-11-02 12:53:43 +01:00
2011-11-02 16:07:03 -07:00
2011-10-24 21:00:34 +02:00