i2c: slave-eeprom: add more info when to increase the pointer
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 23 Mar 2015 08:26:39 +0000 (09:26 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 27 Mar 2015 15:53:40 +0000 (16:53 +0100)
commit98e982b3a29829b676b723e42c1184c87e5242d0
treeb65bd89a53eed65aecf4d95229cba99825e5ab5c
parentd0c892f59c918535f902caea63637af87d931d91
i2c: slave-eeprom: add more info when to increase the pointer

It is a bit subtle when to correctly increase the buffer index when
reading. Make this clearer by adding some more comments and pointers to
the docs.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-slave-eeprom.c