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)
commit4a87572e0b75b6496dbf6ace8f89e884a4be9691
tree5c8f321f86e19b19466d07343f49c5c3d07e52a4
parentb74a3c99eb2ae70639a14c6bf43f5c671a3bd89b
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