f07251c1da1085 parent 6ea438ec8da4ec56bf415f5ea360e6b0cb59c6c3 author David Brownell 1216067905 +0200 committer Jean Delvare 1216067905 +0200 i2c: Bus drivers return -Errno not -1 Tighten error paths used by various i2c adapters (mostly x86) so they return real fault/errno codes instead of a "-1" (which is most often interpreted as "-EPERM"). Build tested, with eyeball review. One minor initial goal is to have adapters consistently return the code "-ENXIO" when addressing a device doesn't get an ACK response, at least in the probe paths where they are already good at stifling related logspam. Signed-off-by: David Brownell Signed-off-by: Jean Delvare ê@