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 <jose.alarcon.roldan@gmail.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-09-07 15:21:13 -07:00
..
2014-08-13 17:49:53 -06:00
2014-08-08 11:34:32 -07:00
2014-04-07 16:36:02 -07:00
2014-05-05 15:32:05 +02:00
2014-02-28 15:12:08 -08:00
2014-08-04 07:01:38 -07:00
2013-04-02 09:39:55 -07:00
2014-02-10 16:01:40 -08:00
2014-08-06 23:36:12 -07:00
2014-06-11 08:35:34 -07:00
2013-01-10 01:27:46 +01:00
2014-08-27 22:04:36 +01:00
2014-07-28 15:23:15 +02:00
2014-08-08 15:57:24 -07:00
2013-10-16 13:35:02 -07:00
2014-07-09 16:05:42 -07:00
2014-08-05 09:58:11 +02:00
2014-06-19 17:45:14 -07:00
2014-04-18 14:20:48 +02:00
2014-05-12 17:08:33 -07:00
2014-05-05 15:32:05 +02:00
2013-11-14 11:04:40 -08:00
2014-03-21 13:16:58 +01:00
2013-12-02 14:48:28 +01:00
2014-03-21 13:16:58 +01:00
2013-12-02 14:45:19 +01:00
2014-08-08 15:57:24 -07:00
2014-05-05 15:32:05 +02:00
2014-05-05 15:32:05 +02:00
2014-05-05 15:32:05 +02:00