i2c-algo-bit: Return standard fault codes
authorJean Delvare <khali@linux-fr.org>
Sun, 30 Oct 2011 12:47:25 +0000 (13:47 +0100)
committerJean Delvare <khali@endymion.delvare>
Sun, 30 Oct 2011 12:47:25 +0000 (13:47 +0100)
commitabc01b2718ee1d26e83c4c62c4b79806b3240ac7
treef337e7b0a31e189fe23f1d4754cf3947a4d708cf
parentf6beb67d8e77454200acc3755344944bd946cded
i2c-algo-bit: Return standard fault codes

Adjust i2c-algo-bit to return fault codes compliant with
Documentation/i2c/fault-codes, rather than the undocumented and
vague -EREMOTEIO.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/algos/i2c-algo-bit.c