aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/algos/i2c-algo-bit.c
diff options
context:
space:
mode:
authorDavid Brownell <[email protected]>2008-07-14 20:38:23 +0000
committerJean Delvare <[email protected]>2008-07-14 20:38:23 +0000
commit24a5bb7b1838dc4524dd353224e2aa09c22cac3b (patch)
tree8e7c7bb65b889e20d7a1067d41157b4b150cf045 /drivers/i2c/algos/i2c-algo-bit.c
parenti2c-core: Remove needless include (diff)
downloadkernel-24a5bb7b1838dc4524dd353224e2aa09c22cac3b.tar.gz
kernel-24a5bb7b1838dc4524dd353224e2aa09c22cac3b.zip
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 <[email protected]> Signed-off-by: Jean Delvare <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions