Axel Lin c30aa39c23 hwmon: (twl4030-madc-hwmon) Return proper error if hwmon_device_register fails
The driver did not return an error if the call to hwmon_device_register failed.
Fix by returning the error reported from hwmon_device_register.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
2011-05-01 09:06:35 -07:00
..
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2009-12-14 21:17:27 +01:00
2011-03-31 11:26:23 -03:00
2009-12-14 21:17:26 +01:00
2010-10-28 20:31:50 +02:00
2010-10-28 20:31:50 +02:00
2011-01-12 21:55:13 +01:00
2009-12-14 21:17:26 +01:00
2011-01-12 21:55:11 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00
2010-11-22 12:23:39 -08:00
2011-01-12 21:55:10 +01:00
2011-01-08 10:55:15 -08:00
2011-03-21 17:59:36 +01:00
2009-12-14 21:17:26 +01:00
2011-01-12 21:55:10 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00
2011-01-18 12:22:54 -08:00
2011-03-14 22:39:11 -07:00
2009-12-14 21:17:26 +01:00
2011-03-14 22:36:26 -07:00
2011-03-14 22:36:26 -07:00
2011-01-02 15:31:11 -08:00
2011-03-21 17:59:36 +01:00
2011-03-31 11:26:23 -03:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2011-03-31 11:26:23 -03:00
2010-10-28 20:31:50 +02:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00