i2c-algo-pca: 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)
commit4403988afc0a92b8faf59b46f51d25fafaf0e63d
tree0d3ddd323a5dcbb35e84014b3f33a4380c577dc2
parentabc01b2718ee1d26e83c4c62c4b79806b3240ac7
i2c-algo-pca: Return standard fault codes

Adjust i2c-algo-pca 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>
Cc: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/algos/i2c-algo-pca.c