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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
bcm3510.c | ||
bcm3510.h | ||
bcm3510_priv.h | ||
bsbe1.h | ||
bsru6.h | ||
cx22700.c | ||
cx22700.h | ||
cx22702.c | ||
cx22702.h | ||
cx24110.c | ||
cx24110.h | ||
cx24123.c | ||
cx24123.h | ||
dib3000.h | ||
dib3000mb.c | ||
dib3000mb_priv.h | ||
dib3000mc.c | ||
dib3000mc.h | ||
dib7000m.c | ||
dib7000m.h | ||
dib7000p.c | ||
dib7000p.h | ||
dibx000_common.c | ||
dibx000_common.h | ||
dvb-pll.c | ||
dvb-pll.h | ||
dvb_dummy_fe.c | ||
dvb_dummy_fe.h | ||
isl6421.c | ||
isl6421.h | ||
l64781.c | ||
l64781.h | ||
lgdt330x.c | ||
lgdt330x.h | ||
lgdt330x_priv.h | ||
lnbp21.c | ||
lnbp21.h | ||
mt312.c | ||
mt312.h | ||
mt312_priv.h | ||
mt352.c | ||
mt352.h | ||
mt352_priv.h | ||
mt2060.c | ||
mt2060.h | ||
mt2060_priv.h | ||
nxt200x.c | ||
nxt200x.h | ||
nxt6000.c | ||
nxt6000.h | ||
nxt6000_priv.h | ||
or51132.c | ||
or51132.h | ||
or51211.c | ||
or51211.h | ||
qt1010.c | ||
qt1010.h | ||
qt1010_priv.h | ||
s5h1420.c | ||
s5h1420.h | ||
sp887x.c | ||
sp887x.h | ||
sp8870.c | ||
sp8870.h | ||
stv0297.c | ||
stv0297.h | ||
stv0299.c | ||
stv0299.h | ||
tda826x.c | ||
tda826x.h | ||
tda827x.c | ||
tda827x.h | ||
tda1002x.h | ||
tda1004x.c | ||
tda1004x.h | ||
tda8083.c | ||
tda8083.h | ||
tda10021.c | ||
tda10023.c | ||
tda10086.c | ||
tda10086.h | ||
tua6100.c | ||
tua6100.h | ||
ves1x93.c | ||
ves1x93.h | ||
ves1820.c | ||
ves1820.h | ||
zl10353.c | ||
zl10353.h | ||
zl10353_priv.h |