commit | c30aa39c233ca1df8397eb9e9c8b40a397ce72bb | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Sun May 01 11:34:55 2011 -0400 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Sun May 01 09:06:35 2011 -0700 |
tree | ec550c54d08f245c717587bc4bae228ffe75090b | |
parent | 1be6a1f89f131e9c3d22f819ec542be9cda8c9e3 [diff] |
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>