Documentation/i2c: adopt kernel commenting style in examples
authorSam Hansen <hansens@google.com>
Fri, 13 Apr 2018 17:42:57 +0000 (10:42 -0700)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 18 Apr 2018 08:09:44 +0000 (10:09 +0200)
The example I2C code is rewritten to adopt the preferred kernel block
commenting style.

Signed-off-by: Sam Hansen <hansens@google.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Documentation/i2c/dev-interface

index f92ee1f..fbed645 100644 (file)
@@ -67,8 +67,10 @@ the device supports them. Both are illustrated below.
     /* res contains the read word */
   }
 
-  /* Using I2C Write, equivalent of
-     i2c_smbus_write_word_data(file, reg, 0x6543) */
+  /*
+   * Using I2C Write, equivalent of
+   * i2c_smbus_write_word_data(file, reg, 0x6543)
+   */
   buf[0] = reg;
   buf[1] = 0x43;
   buf[2] = 0x65;