linux/drivers/video/intelfb
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
..
intelfb.h intelfb: fix mtrr_reg signedness 2006-08-22 10:10:56 +10:00
intelfb_i2c.c i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
intelfbdrv.c [PATCH] Video: fb, kzalloc changes 2007-02-12 09:48:43 -08:00
intelfbhw.c [PATCH] Scheduled removal of SA_xxx interrupt flags fixups 2007-02-14 08:09:54 -08:00
intelfbhw.h intelfb: add preliminary i2c support 2006-07-03 19:03:10 +10:00
Makefile intelfb: add preliminary i2c support 2006-07-03 19:04:37 +10:00