i2c/mips: Fix error return codes from Sibyte i2c bus driver
authorGuenter Roeck <guenter.roeck@ericsson.com>
Sat, 10 Jul 2010 07:42:47 +0000 (09:42 +0200)
committerJean Delvare <khali@linux-fr.org>
Sat, 10 Jul 2010 07:42:47 +0000 (09:42 +0200)
commit102b59c6d6d30fb6560177fd1ae8a34c4c163897
tree7e39292a3c448479df96f1ba6a0941de32e65d76
parent827900c55665dc8e20b05bb18d3f6e078eaa6183
i2c/mips: Fix error return codes from Sibyte i2c bus driver

Sibyte i2c bus driver returns non-descriptive error values.
Update to return error values as defined in Documentation/i2c/fault-codes.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-sibyte.c