summaryrefslogtreecommitdiff
path: root/drivers/ata/pdc_adma.c
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2008-07-14 20:38:23 (GMT)
committerJean Delvare <khali@mahadeva.delvare>2008-07-14 20:38:23 (GMT)
commit24a5bb7b1838dc4524dd353224e2aa09c22cac3b (patch)
tree8e7c7bb65b889e20d7a1067d41157b4b150cf045 /drivers/ata/pdc_adma.c
parent75415490d6adc1aecbf0cade0785b007957d0cfe (diff)
downloadlinux-24a5bb7b1838dc4524dd353224e2aa09c22cac3b.tar.xz
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>
Diffstat (limited to 'drivers/ata/pdc_adma.c')
0 files changed, 0 insertions, 0 deletions