]> 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>
Wed, 5 Oct 2011 03:26:05 +0000 (20:26 -0700)
commitbad628c0bdbc521dba00b7c28d34e7c0befaef3d
tree77d671205ebbd5063121ba95a55d4abd39a04915
parent75824a35573e71e8aff70467542b3bc9ee828486
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