mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 09:22:27 +00:00
The block-write function of the core was not used because there was no client-struct to use. However, in this case it seems apropriate to use a temporary client struct. Because we are answering a request we recieved when being a client ourselves. So, convert the code to use a temporary client and use the block-write function of the I2C core. Signed-off-by: Wolfram Sang <[email protected]> Reviewed-by: Asmaa Mnebhi <[email protected]> Acked-by: Corey Minyard <[email protected]> Message-Id: <[email protected]> Signed-off-by: Corey Minyard <[email protected]>