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
..
2005-06-24 00:05:31 -07:00
2006-06-25 02:00:42 -03:00
2006-11-03 00:49:40 -03:00
2006-06-25 02:00:42 -03:00
2006-06-25 02:00:42 -03:00
2006-06-30 15:59:51 -03:00
2006-11-03 00:49:40 -03:00
2006-09-26 12:30:35 -03:00
2006-11-03 00:49:40 -03:00
2007-02-21 13:35:18 -02:00
2006-11-03 00:49:40 -03:00
2007-02-21 13:35:18 -02:00
2006-11-03 00:49:40 -03:00
2006-11-03 00:49:40 -03:00
2006-09-26 11:53:46 -03:00
2007-02-17 19:23:03 +01:00
2007-02-21 13:34:14 -02:00
2006-11-03 00:49:40 -03:00
2006-12-10 08:51:04 -02:00
2006-12-10 08:51:00 -02:00
2006-12-10 08:51:03 -02:00
2006-12-10 08:51:03 -02:00
2007-05-01 23:26:28 +02:00
2006-12-10 08:51:00 -02:00
2006-06-25 02:00:42 -03:00
2005-04-16 15:20:36 -07:00
2007-04-27 15:45:42 -03:00
2007-04-27 15:45:42 -03:00
2007-03-27 08:45:56 -03:00
2006-11-03 00:49:40 -03:00
2007-04-27 15:45:47 -03:00
2006-12-07 08:39:38 -08:00
2006-11-03 00:49:40 -03:00
2006-12-10 08:51:09 -02:00
2007-04-27 15:45:24 -03:00
2006-11-03 00:49:40 -03:00
2006-09-26 12:30:32 -03:00
2006-11-03 00:49:40 -03:00
2007-04-27 15:45:47 -03:00
2005-04-16 15:20:36 -07:00
2006-06-25 02:00:42 -03:00
2006-11-03 00:49:40 -03:00
2005-04-16 15:20:36 -07:00
2006-09-26 11:53:24 -03:00
2006-11-03 00:49:40 -03:00
2006-09-26 11:53:45 -03:00
2006-10-03 15:12:36 -03:00
2006-11-02 23:58:04 -03:00
2007-03-24 16:49:22 -07:00
2006-11-03 00:49:40 -03:00
2005-05-17 07:59:29 -07:00
2006-06-25 02:00:42 -03:00
2006-11-03 00:49:40 -03:00
2007-04-27 15:44:09 -03:00
2006-11-03 00:49:40 -03:00
2006-12-10 09:22:53 -02:00
2006-11-03 00:49:40 -03:00
2007-02-21 13:34:53 -02:00
2007-02-21 13:35:33 -02:00
2007-02-21 13:34:53 -02:00
2006-06-25 02:00:42 -03:00
2006-11-03 00:49:40 -03:00
2006-07-10 13:24:15 -07:00
2006-11-03 00:49:40 -03:00
2006-07-10 13:24:15 -07:00
2006-11-03 00:49:40 -03:00
2007-02-21 13:35:32 -02:00
2006-11-03 00:49:40 -03:00
2007-02-21 13:35:16 -02:00
2006-11-03 00:49:40 -03:00
2006-12-10 09:05:02 -02:00
2006-11-03 00:49:40 -03:00
2007-04-27 15:45:17 -03:00
2007-04-27 15:43:35 -03:00
2007-04-27 15:45:48 -03:00
2007-04-27 15:44:58 -03:00
2007-04-27 15:44:58 -03:00
2006-12-10 08:51:08 -02:00
2006-11-03 00:49:40 -03:00
2007-04-27 15:45:48 -03:00
2007-04-27 15:45:47 -03:00
2007-04-02 11:03:04 -03:00
2006-11-03 00:49:40 -03:00
2006-12-10 08:51:33 -02:00
2006-11-03 00:49:40 -03:00
2006-06-25 02:00:42 -03:00
2006-11-03 00:49:40 -03:00
2006-06-30 19:25:36 +02:00
2006-11-03 00:49:40 -03:00
2007-02-21 13:35:25 -02:00
2007-02-21 13:35:25 -02:00
2007-02-21 13:35:24 -02:00