]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (pmbus) Replace EINVAL return codes with more appropriate errors
authorGuenter Roeck <guenter.roeck@ericsson.com>
Thu, 1 Sep 2011 15:34:31 +0000 (08:34 -0700)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Sun, 18 Sep 2011 17:10:10 +0000 (10:10 -0700)
commit0b2db54c821b0a4bcfada97938d716a3f6b83f1c
tree8d109eda94c40d77c62a3f43cf9932b041515886
parent84239ded0afb93695bcd2269621eb61f2f73339a
hwmon: (pmbus) Replace EINVAL return codes with more appropriate errors

EINVAL was over-used in the code. Replace it with more appropriate errors.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Reviewed-by: Robert Coulson <robert.coulson@ericsson.com>
drivers/hwmon/pmbus/lm25066.c
drivers/hwmon/pmbus/max8688.c
drivers/hwmon/pmbus/pmbus_core.c
drivers/hwmon/pmbus/ucd9000.c