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-07-04 10:40:05 -07:00
2008-05-20 16:44:43 +02:00
2008-07-14 22:38:23 +02:00
2008-06-19 00:12:36 +02:00
2008-05-20 13:31:55 -07:00
2008-04-29 08:06:18 -07:00
2008-05-21 16:56:00 -07:00
2008-07-04 10:40:05 -07:00
2008-07-12 14:33:42 -07:00
2008-07-04 10:40:08 -07:00
2008-05-20 13:31:55 -07:00
2008-04-30 08:29:52 -07:00
2008-04-30 08:29:52 -07:00