linux/drivers/media/dvb/b2c2
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
..
flexcop_ibi_value_be.h [PATCH] dvb: flexcop: woraround irq stop problem 2005-07-07 18:23:56 -07:00
flexcop_ibi_value_le.h [PATCH] dvb: flexcop: woraround irq stop problem 2005-07-07 18:23:56 -07:00
flexcop-common.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
flexcop-dma.c V4L/DVB (3428): drivers/media/dvb/ possible cleanups 2006-01-23 17:11:09 -02:00
flexcop-eeprom.c [PATCH] dvb: flexcop: fix MAC address reading 2005-05-17 07:59:25 -07:00
flexcop-fe-tuner.c V4L/DVB (5363): Dvb: Remove lgh06xf driver 2007-04-27 15:44:05 -03:00
flexcop-hw-filter.c [PATCH] DVB: Small cleanups and CodeStyle fixes 2005-12-01 15:48:59 -08:00
flexcop-i2c.c i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
flexcop-misc.c V4L/DVB (3428): drivers/media/dvb/ possible cleanups 2006-01-23 17:11:09 -02:00
flexcop-pci.c V4L/DVB (5505): Fix Kernel Bugzilla #8301: spinlock fix for flexcop-pci 2007-04-27 15:45:29 -03:00
flexcop-reg.h V4L/DVB (3428): drivers/media/dvb/ possible cleanups 2006-01-23 17:11:09 -02:00
flexcop-sram.c [PATCH] dvb: b2c2/flexcop driver refactoring part 2: add modular Flexcop driver 2005-05-17 07:59:24 -07:00
flexcop-usb.c V4L/DVB (4818): Flexcop-usb: fix debug printk 2006-11-13 08:17:30 -02:00
flexcop-usb.h [PATCH] dvb: flexcop: fix USB transfer handling 2005-05-17 07:59:24 -07:00
flexcop.c V4L/DVB (4014): Remove the spagetti code gotos that aren't useful 2006-06-25 02:00:23 -03:00
flexcop.h [PATCH] dvb: flexcop: woraround irq stop problem 2005-07-07 18:23:56 -07:00
Kconfig V4L/DVB (5363): Dvb: Remove lgh06xf driver 2007-04-27 15:44:05 -03:00
Makefile [PATCH] dvb: remove obsolete skystar2 driver 2005-07-07 18:23:52 -07:00