diff options
author | 2009-02-02 15:23:43 -0200 | |
---|---|---|
committer | 2009-02-03 11:23:09 +1100 | |
commit | 0883743825e34b81f3ff78aaee3a97cba57586c5 (patch) | |
tree | 9b9e7f2d4dca611aee61c7c0245956f5fd830d91 /fs/file_table.c | |
parent | securityfs: fix long-broken securityfs_create_file comment (diff) | |
download | linux-rng-0883743825e34b81f3ff78aaee3a97cba57586c5.tar.xz linux-rng-0883743825e34b81f3ff78aaee3a97cba57586c5.zip |
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>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions