]> 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, 14 Sep 2011 11:07:59 +0000 (04:07 -0700)
commit1c3fca09eed681771ac25aa71d0b78cef1af1355
treeece8673487bc02e0c2d7c1d863c97d8dfc83cbc1
parent9f2c69ffb9108ff7eaf0515894103d83804e6816
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