i2c-stub: Use a single array for byte and word operations
authorJean Delvare <khali@linux-fr.org>
Sun, 27 Jan 2008 17:14:45 +0000 (18:14 +0100)
committerJean Delvare <khali@hyperion.delvare>
Sun, 27 Jan 2008 17:14:45 +0000 (18:14 +0100)
commit569be443e3c1329fc6725988004f5d8a32fe3be5
tree694ce140e127777cdc1bc66d2359233dd1d2f307
parentb3af547e197fa3ca648d148dd8d36befe989e5a0
i2c-stub: Use a single array for byte and word operations

This mimics the behavior of actual SMBus chips better.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Mark M. Hoffman <mhoffman@lightlink.com>
Documentation/i2c/i2c-stub
drivers/i2c/busses/i2c-stub.c