Skip to content
Snippets Groups Projects
Commit fc26067c authored by Wolfram Sang's avatar Wolfram Sang Committed by Corey Minyard
Browse files

ipmi: remove open coded version of SMBus block write


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: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: default avatarAsmaa Mnebhi <asmaa@nvidia.com>
Acked-by: default avatarCorey Minyard <cminyard@mvista.com>
Message-Id: <20210128085544.7609-1-wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent 76c057c8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment