i2c: Functions for byte-swapped smbus_write/read_word_data
authorJonathan Cameron <jic23@cam.ac.uk>
Sun, 30 Oct 2011 12:47:25 +0000 (13:47 +0100)
committerJean Delvare <khali@endymion.delvare>
Sun, 30 Oct 2011 12:47:25 +0000 (13:47 +0100)
commit06a67848c6681a73e621e47c056490d51a07289f
treedf6e3df869b7b1a1f40f09b9b3a6f8b8a2ad12d6
parent4403988afc0a92b8faf59b46f51d25fafaf0e63d
i2c: Functions for byte-swapped smbus_write/read_word_data

Reimplemented at least 17 times discounting error mangling cases
where it could be used.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Documentation/i2c/smbus-protocol
include/linux/i2c.h