From: Sam Hansen Date: Fri, 13 Apr 2018 17:42:57 +0000 (-0700) Subject: Documentation/i2c: adopt kernel commenting style in examples X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=40d802cb66ad110673e40cb3426b1f1c79645104;p=openwrt%2Fstaging%2Fblogic.git Documentation/i2c: adopt kernel commenting style in examples The example I2C code is rewritten to adopt the preferred kernel block commenting style. Signed-off-by: Sam Hansen Signed-off-by: Wolfram Sang --- diff --git a/Documentation/i2c/dev-interface b/Documentation/i2c/dev-interface index f92ee1f59914..fbed645ccd75 100644 --- a/Documentation/i2c/dev-interface +++ b/Documentation/i2c/dev-interface @@ -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;