2096b956d2
This shrinks the size of "struct i2c_client" by 40 bytes: - Substantially shrinks the string used to identify the chip type - The "flags" don't need to be so big - Removes some internal padding It also adds kerneldoc for that struct, explaining how "name" is really a chip type identifier; it's otherwise potentially confusing. Because the I2C_NAME_SIZE symbol was abused for both i2c_client.name and for i2c_adapter.name, this needed to affect i2c_adapter too. The adapters which used that symbol now use the more-obviously-correct idiom of taking the size of that field. JD: Shorten i2c_adapter.name from 50 to 48 bytes while we're here, to avoid wasting space in padding. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Jean Delvare <khali@linux-fr.org> |
||
---|---|---|
.. | ||
i2c-acorn.c | ||
i2c-ali15x3.c | ||
i2c-ali1535.c | ||
i2c-ali1563.c | ||
i2c-amd756-s4882.c | ||
i2c-amd756.c | ||
i2c-amd8111.c | ||
i2c-at91.c | ||
i2c-au1550.c | ||
i2c-au1550.h | ||
i2c-elektor.c | ||
i2c-hydra.c | ||
i2c-i801.c | ||
i2c-i810.c | ||
i2c-ibm_iic.c | ||
i2c-ibm_iic.h | ||
i2c-iop3xx.c | ||
i2c-iop3xx.h | ||
i2c-isa.c | ||
i2c-ixp4xx.c | ||
i2c-ixp2000.c | ||
i2c-mpc.c | ||
i2c-mv64xxx.c | ||
i2c-nforce2.c | ||
i2c-ocores.c | ||
i2c-omap.c | ||
i2c-parport-light.c | ||
i2c-parport.c | ||
i2c-parport.h | ||
i2c-pasemi.c | ||
i2c-pca-isa.c | ||
i2c-piix4.c | ||
i2c-pnx.c | ||
i2c-powermac.c | ||
i2c-prosavage.c | ||
i2c-pxa.c | ||
i2c-rpx.c | ||
i2c-s3c2410.c | ||
i2c-savage4.c | ||
i2c-sibyte.c | ||
i2c-sis96x.c | ||
i2c-sis630.c | ||
i2c-sis5595.c | ||
i2c-stub.c | ||
i2c-versatile.c | ||
i2c-via.c | ||
i2c-viapro.c | ||
i2c-voodoo3.c | ||
Kconfig | ||
Makefile | ||
scx200_acb.c | ||
scx200_i2c.c |