]> 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>
Tue, 13 Sep 2011 16:46:57 +0000 (09:46 -0700)
commit4d34352ee3658035e4c13f2a5a63d678376d5faf
tree8518cfcb7f052871612e396e970a58b6ba72f7f9
parent9cccba653e4b1b436069e23ebc75ed1f9146a73f
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