On Fri, Apr 13, 2018 at 9:50 AM, Wolfram Sang wrote:
>
>> - int adapter_nr = 2; /* probably dynamically determined */
>
> Such comments are actually OK.
Ah, gotcha. Thanks for the correction. Standby for revised patch set.
>
>> -/* ERROR HANDLING; you can check errno to see what went wron
> - int adapter_nr = 2; /* probably dynamically determined */
Such comments are actually OK.
> -/* ERROR HANDLING; you can check errno to see what went wrong */
Such as well.
> - /* Using I2C Write, equivalent of
> - i2c_smbus_write_word_data(file, reg, 0x6543) */
> + /*
> + * Usi
The example I2C code is rewritten to adopt the preferred kernel block
commenting style.
Signed-off-by: Sam Hansen
---
Documentation/i2c/dev-interface | 57 +
1 file changed, 43 insertions(+), 14 deletions(-)
diff --git a/Documentation/i2c/dev-interface b/Document
3 matches
Mail list logo