aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorTrent Piepho <[email protected]>2013-12-13 18:27:44 -0800
committerMark Brown <[email protected]>2013-12-16 21:03:42 +0000
commit89c1f60746106755e29dcc3db9f22e37000891ef (patch)
tree376230d90e6c40a0c0f8936bf87689e5e8316788 /net/lapb/lapb_out.c
parent0c64bc1b5eace5f48dec7305b83ee4d613d58c94 (diff)
spi: Order fields in spi_device for better packing
Now that spi_device->mode is a u16, the chip_select, bits_per_mode, and mode fields pack poorly, taking 8 bytes: four data and four padding. By moving (u8)bits_per_word up one position, to after (u8)chip_select, they pack better and only use 4 bytes. Signed-off-by: Trent Piepho <[email protected]> Reviewed-by: Sourav Poddar <[email protected]> Tested-by: Sourav Poddar <[email protected]>g Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions