diff options
author | ian <ian@FreeBSD.org> | 2015-10-09 23:58:19 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2015-10-09 23:58:19 +0000 |
commit | 22341280674939d0ffc8a91fbd76bc082c40e0b3 (patch) | |
tree | c0a6b60679922da0277b65e7337164f8ce9ea110 /lib/libc/stdio/stdio.c | |
parent | bf3b00c72df48b3dd1c931f456e0939fd58b97fc (diff) | |
download | FreeBSD-src-22341280674939d0ffc8a91fbd76bc082c40e0b3.zip FreeBSD-src-22341280674939d0ffc8a91fbd76bc082c40e0b3.tar.gz |
Return only IIC_Exxxx status values from iicbus-layer functions. Most of
these functions are thin wrappers around calling the hardware-layer driver,
but some of them do sanity checks and return an error. Since the hardware
layer can only return IIC_Exxxxx status values, the iicbus helper functions
must also adhere to that, so that drivers at higher layers can assume that
any non-zero status value is an IIC_Exxxx value that provides details about
what happened at the hardware layer (sometimes those details are important
for certain slave drivers).
Diffstat (limited to 'lib/libc/stdio/stdio.c')
0 files changed, 0 insertions, 0 deletions