android_kernel_xiaomi_sm8350/drivers/video/matrox
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
..
g450_pll.c [PATCH] matroxfb: fix jittery display on non-ppc systems 2006-08-27 11:01:29 -07:00
g450_pll.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i2c-matroxfb.c i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
matroxfb_accel.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
matroxfb_accel.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
matroxfb_base.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
matroxfb_base.h [PATCH] vt: Remove VT-specific declarations and definitions from tty.h 2006-07-10 13:24:16 -07:00
matroxfb_crtc2.c [PATCH] matroxfb: Use kzalloc 2007-02-12 09:48:42 -08:00
matroxfb_crtc2.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
matroxfb_DAC1064.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
matroxfb_DAC1064.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
matroxfb_g450.c [PATCH] drivers/video: Use ARRAY_SIZE macro 2006-03-27 08:44:58 -08:00
matroxfb_g450.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
matroxfb_maven.c [PATCH] drivers/video: Use ARRAY_SIZE macro 2006-03-27 08:44:58 -08:00
matroxfb_maven.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
matroxfb_misc.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
matroxfb_misc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
matroxfb_Ti3026.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
matroxfb_Ti3026.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00