]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
i2c: Document standard fault codes
authorDavid Brownell <david-b@pacbell.net>
Mon, 14 Jul 2008 20:38:22 +0000 (22:38 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Mon, 14 Jul 2008 20:38:22 +0000 (22:38 +0200)
commit81fded1f79771809059bdfa721ae5ab9114af545
treebc25f0017343696236cdc9f93cb0846a8af381c1
parent4d2bee582be1e9da76e0717bad0cfd988c2a5921
i2c: Document standard fault codes

Create Documentation/i2c/fault-codes to help standardize
fault/error code usage in the I2C stack.  It turns out that
returning -1 (-EPERM) for everything was not at all helpful.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Documentation/i2c/fault-codes [new file with mode: 0644]