On Fri, May 20, 2016 at 02:20:30AM +0300, Artturi Alm wrote:
> hi,
>
> this was not mentioned even in the relevant headers under /sys/dev/i2c/,
> non-native and all, i guess someone will come up w/better diff if it is
> seen improving anything.
>
> -Artturi
>
i guess the proper fix is to add a RETURN VALUES section. if it's as
trivial as your diff suggests, that would present no problem (i.e.
effort).
jmc
>
> diff --git a/share/man/man9/iic.9 b/share/man/man9/iic.9
> index 7fd3855..e37b160 100644
> --- a/share/man/man9/iic.9
> +++ b/share/man/man9/iic.9
> @@ -143,8 +143,8 @@ struct i2c_attach_args {
> .Ed
> .El
> .Sh FUNCTIONS
> -The following functions comprise the API provided to drivers of
> -I2C-connected devices:
> +The following functions returning zero on success comprise the API
> +provided to drivers of I2C-connected devices:
> .Bl -tag -width iic_exec
> .It Fn iic_acquire_bus "ic" "flags"
> Acquire an exclusive lock on the I2C bus.
>