]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] tpm: msecs_to_jiffies cleanups
authorKylene Jo Hall <kjhall@us.ibm.com>
Sat, 22 Apr 2006 09:38:19 +0000 (02:38 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 22 Apr 2006 16:19:54 +0000 (09:19 -0700)
commit4e6cc3704a64816888dc26d2b1c7ea6585b68aa7
tree71a83d0da45630fe3c3a69c446823716164fbcc1
parent33c76eb8d0c4fbbab68bc26028ecf96fc0786233
[PATCH] tpm: msecs_to_jiffies cleanups

The timeout and duration values used in the tpm driver are not exposed to
userspace.  This patch converts the storage units to jiffies with
msecs_to_jiffies.  They were always being used in jiffies so this
simplifies things removing the need for calculation all over the place.
The change necessitated a type change in the tpm_chip struct to hold
jiffies.

Signed-off-by: Kylie Hall <kjhall@us.ibm.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
drivers/char/tpm/tpm_tis.c