]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] tpm: new 1.2 sysfs files
authorKylene Jo Hall <kjhall@us.ibm.com>
Sat, 22 Apr 2006 09:37:50 +0000 (02:37 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 22 Apr 2006 16:19:54 +0000 (09:19 -0700)
commit568b5e22ecab936b93a22e9c1c64991d58083438
tree25dbff8ebc7ec35d476917ccc1f8c54808e79bea
parentd834e9094044c5b2836a922ca3565cef0d532f44
[PATCH] tpm: new 1.2 sysfs files

Many of the sysfs files were calling the TPM_GetCapability command with array.
 Since for 1.2 more sysfs files of this type are coming I am generalizing the
array so there can be one array and the unique parts can be filled in just
before the command is called.

This updated version of the patch breaks the multi-value sysfs file into
separate files pointed out by Greg.  It also addresses the code redundancy and
ugliness in the tpm_show_* functions pointed out on another patch by Dave
Hansen.

Signed-off-by: Kylene Hall <kjhall@us.ibm.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/tpm/tpm.c
drivers/char/tpm/tpm.h