• Kylene Jo Hall's avatar
    [PATCH] tpm: new 1.2 sysfs files · 08e96e48
    Kylene Jo Hall authored
    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: default avatarKylene Hall <kjhall@us.ibm.com>
    Cc: Greg KH <greg@kroah.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    08e96e48
tpm.c 26.5 KB