Files
linux/Documentation/i2c
Jose Manuel Alarcon Roldan 257d6ef4aa Documentation: i2c: rename variable "register" to "reg"
The example code provided with the i2c device interface documentation
won't compile since it uses the reserved word "register" to name a
variable.

The compiler fails with this error message:

 error: expected identifier or '(' before '=' token
   __u8 register = 0x20; /* Device register to access */
                 ^

Rename the variable "register" to simply "reg" in the example code.

Another couple of typos has been fixed as well.
[Change "! =" to "!=".]

Signed-off-by: Jose Alarcon Roldan <[email protected]>
Signed-off-by: Randy Dunlap <[email protected]>
Acked-by: Wolfram Sang <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2014-09-07 15:21:13 -07:00
..
2012-10-05 22:23:54 +02:00
2014-03-12 08:15:41 +01:00