summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/tpm_infineon.c
diff options
context:
space:
mode:
authorAndrew Morton2005-10-31 00:03:28 +0100
committerLinus Torvalds2005-10-31 02:37:29 +0100
commitb888c87b7498557d1dbb9de3d4b8402b1bb89193 (patch)
tree31d43ab177ef00fbef3d15c9513ba737029b6d48 /drivers/char/tpm/tpm_infineon.c
parent[PATCH] Infineon TPM: move infineon driver off pci_dev (diff)
downloadkernel-qcow2-linux-b888c87b7498557d1dbb9de3d4b8402b1bb89193.tar.gz
kernel-qcow2-linux-b888c87b7498557d1dbb9de3d4b8402b1bb89193.tar.xz
kernel-qcow2-linux-b888c87b7498557d1dbb9de3d4b8402b1bb89193.zip
[PATCH] tpm-tidies
- Various whitespace fixes - Use kzalloc() Acked-by: Kylene Hall <kjhall@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/tpm/tpm_infineon.c')
-rw-r--r--drivers/char/tpm/tpm_infineon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/tpm/tpm_infineon.c b/drivers/char/tpm/tpm_infineon.c
index d356f53c49b4..8198dbb7370f 100644
--- a/drivers/char/tpm/tpm_infineon.c
+++ b/drivers/char/tpm/tpm_infineon.c
@@ -30,10 +30,10 @@
#define TPM_INFINEON_DEV_VEN_VALUE 0x15D1
/* These values will be filled after PnP-call */
-static int TPM_INF_DATA = 0;
-static int TPM_INF_ADDR = 0;
-static int TPM_INF_BASE = 0;
-static int TPM_INF_PORT_LEN = 0;
+static int TPM_INF_DATA;
+static int TPM_INF_ADDR;
+static int TPM_INF_BASE;
+static int TPM_INF_PORT_LEN;
/* TPM header definitions */
enum infineon_tpm_header {