tpm: Split out the devm stuff from tpmm_chip_alloc
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Thu, 11 Feb 2016 19:45:48 +0000 (12:45 -0700)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Sat, 25 Jun 2016 14:26:35 +0000 (17:26 +0300)
commit3897cd9c8d1d1a9ff81fed893502911c2b9f4a79
tree99163c28d3a81511d014541c597c0c32979feca0
parent2072df40ec19d9703adfcdbd15f30c879bb65b2a
tpm: Split out the devm stuff from tpmm_chip_alloc

tpm_chip_alloc becomes a typical subsystem allocate call.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Tested-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/tpm-chip.c
drivers/char/tpm/tpm.h