[PATCH] tpm: dev_mask handling fix
authorKylene Jo Hall <kjhall@us.ibm.com>
Mon, 14 Nov 2005 00:07:42 +0000 (16:07 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 14 Nov 2005 02:14:17 +0000 (18:14 -0800)
commitf6a2382cec3ed9b67b01febfa85d7d72b254844a
treea15ab118ad15a6392c7b41cb56094e9f938d25fc
parentad5ea3cc5f745aef243ade0dafc8cf6f7f0bfea7
[PATCH] tpm: dev_mask handling fix

- Use ~, not !

- Remove unneeded cast

Signed-off-by: Kylene 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