Rajiv Andrade 0883743825 TPM: sysfs functions consolidation
According to Dave Hansen's comments on the tpm_show_*, some of these functions
present a pattern when allocating data[] memory space and also when setting its
content. A new function was created so that this pattern could be consolidated.
Also, replaced the data[] command vectors and its indexes by meaningful structures
as pointed out by Matt Helsley too.

Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
2009-02-03 11:23:09 +11:00
..
2008-07-25 10:53:43 -07:00
2009-02-03 11:23:09 +11:00
2008-06-20 14:05:55 -06:00
2008-12-13 11:25:49 -08:00
2008-10-13 09:51:38 -07:00
2008-10-20 08:52:41 -07:00
2008-12-13 09:12:07 +00:00
2008-10-20 09:41:06 -07:00
2008-07-20 17:12:36 -07:00
2008-07-22 13:03:28 -07:00
2008-06-20 14:05:57 -06:00
2008-12-03 21:04:09 +11:00
2008-11-30 10:03:36 -08:00
2008-06-20 14:05:48 -06:00
2008-02-07 08:42:25 -08:00
2008-10-16 11:21:47 -07:00
2008-04-30 08:29:43 -07:00
2008-07-24 10:47:14 -07:00
2008-10-13 09:51:44 -07:00
2008-10-13 09:51:39 -07:00
2007-07-21 17:49:16 -07:00
2008-10-13 09:51:44 -07:00
2008-07-20 17:12:38 -07:00
2008-07-20 17:12:38 -07:00
2008-07-22 13:03:28 -07:00
2008-07-20 17:12:38 -07:00
2008-11-01 09:49:46 -07:00
2008-07-20 17:12:34 -07:00
2008-07-26 20:29:03 -07:00
2008-11-11 21:14:11 -05:00
2008-07-20 17:12:38 -07:00
2008-10-20 08:52:36 -07:00
2008-11-04 11:01:35 +01:00
2008-06-20 14:05:51 -06:00
2008-04-30 23:15:34 +02:00
2008-12-09 20:32:06 +11:00
2008-12-09 20:32:06 +11:00
2008-10-23 09:20:53 -07:00
2008-07-26 20:29:03 -07:00
2008-10-16 16:52:05 +02:00
2008-12-13 11:25:49 -08:00