original_kernel/drivers/video
David Brownell 2096b956d2 i2c: Shrink struct i2c_client
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>
2007-05-01 23:26:28 +02:00
..
aty Merge branch 'linux-2.6' into for-2.6.22 2007-04-30 12:38:01 +10:00
backlight
console
geode
i810
intelfb i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
kyro
logo
matrox i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
mbx
nvidia Revert "[POWERPC] Rename get_property to of_get_property: drivers" 2007-04-26 22:24:31 +10:00
pnx4008
riva Revert "[POWERPC] Rename get_property to of_get_property: drivers" 2007-04-26 22:24:31 +10:00
savage
sis
68328fb.c
Kconfig Merge branch 'linux-2.6' into for-2.6.22 2007-04-30 12:38:01 +10:00
Makefile
acornfb.c
acornfb.h
amba-clcd.c
amifb.c
arcfb.c
asiliantfb.c
atafb.c
au1100fb.c
au1100fb.h
au1200fb.c
au1200fb.h
bt431.h
bt455.h
bw2.c
c2p.c
c2p.h
cfbcopyarea.c
cfbfillrect.c
cfbimgblt.c
cg3.c
cg6.c
cg14.c
chipsfb.c
cirrusfb.c
clps711xfb.c
controlfb.c
controlfb.h
cyber2000fb.c
cyber2000fb.h
cyblafb.c
dnfb.c
edid.h
epson1355fb.c
fb_ddc.c
fb_notify.c
fbcmap.c
fbcvt.c
fbmem.c
fbmon.c
fbsysfs.c
ffb.c
fm2fb.c
g364fb.c
gbefb.c
gxt4500.c
hgafb.c
hitfb.c
hpfb.c
igafb.c
imacfb.c
imsttfb.c
imxfb.c
imxfb.h
leo.c
macfb.c
macmodes.c
macmodes.h
maxinefb.c
modedb.c
neofb.c
offb.c Revert "[POWERPC] Rename get_property to of_get_property: drivers" 2007-04-26 22:24:31 +10:00
output.c
p9100.c
platinumfb.c
platinumfb.h
pm2fb.c
pm3fb.c
pmag-aa-fb.c
pmag-ba-fb.c
pmagb-b-fb.c
ps3fb.c
pvr2fb.c
pxafb.c
pxafb.h
q40fb.c
s1d13xxxfb.c
s3c2410fb.c
s3c2410fb.h
s3fb.c
sa1100fb.c
sa1100fb.h
sbuslib.c
sbuslib.h
sgivwfb.c
skeletonfb.c
sm501fb.c
sstfb.c
sticore.h
stifb.c
svgalib.c
tcx.c
tdfxfb.c
tgafb.c
tridentfb.c
tx3912fb.c
valkyriefb.c
valkyriefb.h
vesafb.c
vfb.c
vga16fb.c
vgastate.c
w100fb.c
w100fb.h