]> git.baikalelectronics.ru Git - kernel.git/commit
tpm: Store devname in the tpm_chip
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Sun, 22 Sep 2013 20:19:18 +0000 (14:19 -0600)
committerPeter Huewe <peterhuewe@gmx.de>
Tue, 22 Oct 2013 17:42:28 +0000 (19:42 +0200)
commitd5a712423e9528051628fc04d19a4d908b81c826
tree5c8f321f86e19b19466d07343f49c5c3d07e52a4
parent55862b59d6426e06e8690665059c90e43140df78
tpm: Store devname in the tpm_chip

Just put the memory directly in the chip structure, rather than
in a 2nd dedicated kmalloc.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Joel Schopp <jschopp@linux.vnet.ibm.com>
Reviewed-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Acked-by: Ashley Lai <adlai@linux.vnet.ibm.com>
drivers/char/tpm/tpm.c
drivers/char/tpm/tpm.h