linux/drivers/media/dvb
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
..
b2c2 i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
bt8xx V4L/DVB (5513): Bt878: prevent probing wrong card entry 2007-04-27 15:45:39 -03:00
cinergyT2 V4L/DVB (5121): Proper vendor/device ID for the CinergyT2 input device 2007-02-21 13:34:48 -02:00
dvb-core V4L/DVB (5512): Fix 3/3 for bug 7819: fixed hotplugging for dvbnet 2007-04-27 15:45:32 -03:00
dvb-usb i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
frontends i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
pluto2 V4L/DVB (5361): Dvb-pll: Fix Kconfig files and allow dvb-pll to be optional 2007-04-27 15:44:01 -03:00
ttpci V4L/DVB (5544): Budget-av: Make inversion setting configurable, add KNC ONE V1.0 card 2007-04-27 15:45:48 -03:00
ttusb-budget V4L/DVB (5361): Dvb-pll: Fix Kconfig files and allow dvb-pll to be optional 2007-04-27 15:44:01 -03:00
ttusb-dec V4L/DVB (5164): Compat: Handle input_register_device() change and some others 2007-02-21 13:35:10 -02:00
Kconfig
Makefile