diff options
author | Jean Delvare <khali@linux-fr.org> | 2012-01-12 20:32:03 +0100 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2012-01-12 20:32:03 +0100 |
commit | 7c1f59c9d5caf3a84f35549b5d58f3c055a68da5 (patch) | |
tree | ff3ff814f1c2cbf7e5cd6244d9c5e4ddd5b4e2bd /kernel/.gitignore | |
parent | a429638cac1e5c656818a45aaff78df7b743004e (diff) | |
download | op-kernel-dev-7c1f59c9d5caf3a84f35549b5d58f3c055a68da5.zip op-kernel-dev-7c1f59c9d5caf3a84f35549b5d58f3c055a68da5.tar.gz |
i2c: Fix error value returned by several bus drivers
When adding checks for ACPI resource conflicts to many bus drivers,
not enough attention was paid to the error paths, and for several
drivers this causes 0 to be returned on error in some cases. Fix this
by properly returning a non-zero value on every error.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: stable@kernel.org
Diffstat (limited to 'kernel/.gitignore')
0 files changed, 0 insertions, 0 deletions