On Tue, Nov 12, 2019 at 12:31:29PM -0800, Dmitry Torokhov wrote:
While we indeed often deal with a stream of bytes when executing a
transfer, at the higher layers we usually work with more structured
data, and there is not really a reason to require casts to u8 * form the
callers. These series change I2C APIs to accept [const] void pointers,
and also adjust SMBUS implementation to use get/put_unaligned_16() and
memcpy() for moving data around.
I just started to work on something SMBus, so I rediscovered this series
and will comment now.