David Brownell 24a5bb7b18 i2c-core: Return -Errno, not -1
More updates to the I2C stack's fault reporting:  make the core stop
returning "-1" (usually "-EPERM") for all faults.  Instead, pass lower
level fault code up the stack, or return some appropriate errno.

This patch happens to touch almost exclusively SMBus calls.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
2008-07-14 22:38:23 +02:00
..
2008-02-05 09:44:13 -08:00
2008-07-14 22:38:22 +02:00
2007-10-19 23:22:11 +02:00
2007-05-01 23:26:35 +02:00
2005-04-16 15:20:36 -07:00