Skip to content
Commit 9106e45c authored by Jaakko Laine's avatar Jaakko Laine Committed by Wolfram Sang
Browse files

i2c: xiic: Improve struct memory alignment



xiic_i2c struct alignment causes the struct to
take more space in memory than strictly required.
Move state -member to end of struct to get less
padding.

Signed-off-by: default avatarJaakko Laine <ext-jaakko.laine@vaisala.com>
Suggested-by: default avatarMichal Simek <michal.simek@xilinx.com>
Acked-by: default avatarMichal Simek <michal.simek@xilinx.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent 0a9336ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment